Model Function In Machine Learning