shapEasy Playground

SHAP values for interpreting ML model predictions

Getting started with shapRun locally
Install
pip install shap
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: shap)

shap is a third-party package. SHAP values for interpreting ML model predictions. Install with: pip install shap

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?