This repository contains the backround code of: How to intepret SHAP values in R
To execute this project, open and run
shap_analysis.R (wich loads
It will load the
bike dataset, do some data preparation, create a predictive model (xgboost), obtaining the SHAP values and then it will plot them:
It is easy to reproduce with other data. Have fun!