How SHAP works
Prediction = base value + Σ SHAP value of each variable
The base value is the average prediction across the data. Each SHAP value is how much that variable moved this customer's prediction up or down, averaged fairly over all the ways the variables could be combined. For many classifiers SHAP is computed on the log-odds scale and then read as a push toward more or less risk.
Worked example (illustrative figures)
An applicant's predicted default probability is 15%, against an average of 10%. In probability points:
| Variable | Value | Contribution |
|---|---|---|
| Base value (average) | 10.0 | |
| Credit utilization | 85% | +6.0 |
| Late payments in 12 months | 2 | +4.0 |
| Time with the bank | 8 years | −3.0 |
| Verified income | Above median | −2.0 |
| Prediction | 15.0 |
The two main reasons for the higher risk are high utilization and recent late payments, which is exactly what a decline letter or a credit analyst needs.
Global and local explanations
- Local: the waterfall of one customer, as above; the basis for reason codes.
- Global: the summary plot of all customers, which shows which variables matter most and in which direction.
- Both help validators check that the model behaves as the business expects.
How Thorcast.AI helps
- The interpretation tab of every model includes feature importance and SHAP (summary and waterfall), partial dependence and ICE curves, and coefficients for linear models.
- MJÖ explains the results in plain language and generates audit-ready reports.
- Models trained on alternative data are explained with the same tools, so each new signal can be justified.
Frequently asked questions
Are SHAP values the same as feature importance?
Global SHAP importance is one way to measure feature importance, but SHAP also explains each individual prediction, which classic importance does not.
Can SHAP be used for adverse action reasons?
Yes. The variables that pushed a declined applicant's risk up the most are natural candidates for the reasons given to the customer, reviewed by the credit team.
Does SHAP work for any model?
Yes. It has fast exact versions for tree models and approximations for other models.