Why may a request for Tree SHAP interaction values fail after changing modeloutput from raw to probability?
Classic MLLevel: IntermediateSHAP · TreeExplainer
Why may a request for Tree SHAP interaction values fail after changing model_output from raw to probability?
Hints
- Not every explanation option supports every output transform.
- The interaction API has a stricter contract.
Answer
The pinned implementation supports interaction values only in raw output space. Compute supported raw interactions and state their units, rather than interpreting them as probability-point interactions.
Source and licence: SHAP · TreeExplainer · MIT · answer: Quantoros editorial