Baseline Prediction for TreeExplainer
and XGBoost
is not being computed correctly.
#250
Milestone
TreeExplainer
and XGBoost
is not being computed correctly.
#250
I think we might have broken something with
XGBoost
andTreeExplainer
. It seems like the baseline values are not being computed correctly (it's always sitting at zero). Currently there is already a TODO about this in the code.I think this needs to be resolved either in the conversion from XGBoost models into TreeModels or in the Explainer. If it can be resolved in the conversion this would definetly be the preferred fix.
Code to reproduce this:
Produces:
For the decision tree and the random forest the predicted value and the sum of the SVs and the baseline are equal. This is to be expected. For the XGBoost model this is not the case.
The text was updated successfully, but these errors were encountered: