Skip to content

Latest commit

 

History

History
17 lines (7 loc) · 693 Bytes

README.md

File metadata and controls

17 lines (7 loc) · 693 Bytes

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 shap.R).

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:

Shap summary

Shap summary

It is easy to reproduce with other data. Have fun!