Machine Learning Algorithms Implement some machine learning algorithms while I am reading the book the Elements of Statistical Learning by Hastie, Tibshirani, Friedman.