The code in this repository is from the well know textbook "An Introduction to Statisical Learning with Applications in R".