Distance Based Methods In Machine Learning