Basic Algorithms In Machine Learning