A TreeExplainer additivity check fails. Should production simply set checkadditivity=False?
Classic MLLevel: IntermediateSHAP · TreeExplainer
A TreeExplainer additivity check fails. Should production simply set check_additivity=False?
Hints
- The check is a diagnostic invariant.
- Compare like-for-like outputs before relaxing validation.
Answer
First verify model version, preprocessing, feature order, output space and tree limits, then reproduce the discrepancy. Disabling the check hides a consistency failure; use a documented numerical tolerance only after understanding its cause.
Source and licence: SHAP · TreeExplainer · MIT · answer: Quantoros editorial