notes for book An Introduction to Statistical Learning with Applications in R