This is an update to a very popular text which was originally in R. Professors Hastie & Tibshirani are leading educators in statistical learning. They also have a video course following these notes in Stanford Online. Very highly recommended if learning theoretical aspects of classical ML