Practicing machine learning with python using Richert & Coelho (2013)