Functions Used In Machine Learning