Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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!

About

Shap values for model interpretation

Resources

Releases

No releases published

Packages

No packages published

Languages