Machine Learning for Knowledge Discovery with R (Methodologies for Modeling, Inference and Prediction)