Matlab implementation of Machine Learning algorithms