Mathematical Foundations of Machine learning