Examples and figures used in this presentation come from:

James, G., Witten D., Hastie, T., Tibshirani, R. "An Introduction to Statistical Learning, with applications in R". Springer, 2013.

You can download it here:

http://www-bcf.usc.edu/~gareth/ISL/ISLR%20First%20Printing.pdf