Skip to content

pablo14/shap-values

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages