Mathematical Foundations of Machine Learning