Chapter 1 Implementing Machine Learning Algorithms