Foundations of Machine Learning For Chemistry