Statistical foundations of machine learning