Numerical Algorithms For Machine Learning