The elements of statistical learning :data mining, inference, and prediction : Trevor Hastie, Robert Tibshirani, Jerome Friedman.