From http://blog.dato.com/how-to-evaluate-machine-learning-models-part-2b-ranking-and-regression-metrics