An introduction to statistical methods for supervised and unsupervised learning.