This mini project aims to apply methods of interpreting machine learning models as described in Christoph Molnar's Interpretable Machine Learning book.
Data was obtained from Kaggle website, in particular Lifestyle and Wellbeing dataset. The data used in this project was downloaded from Kaggle on March 22, 2021.
-
Molnar's code on how to use
imlpackage to interpret ML models following examples in his book is here. In his code, Molnar usesmlrandcaretpackage for modeling. -
To use
imlpackage for interpretation, andh2opackage for modeling check this post. A similar post is here. -
To use
lime,vip, andpdppackage for interpretation, andcaretandh2ofor modeling check this post. -
To use
DALEXpackage for interpretation, andh2ofor modeling check this post. -
To use
limeandpdppackage for interpretation, andgbm,xboost, andh2opackage for modeling check this post. -
Chapter 16 in Hands-on Machine Learning with R book provides examples on using
pdp,vip,iml,DALEX, andlimepackage for interpretation, andh2oandxboostpackage for modeling.