Mathematical and Computational Aspects of Machine Learning