ModelOriented / treeshap

Compute SHAP values for your tree-based models using the TreeSHAP algorithm
https://modeloriented.github.io/treeshap/
GNU General Public License v3.0
78 stars 22 forks source link

Error in ranger.unify() #39

Open Novampe opened 2 months ago

Novampe commented 2 months ago

I tried to unify my binary classification rf model trained by ranger. There is an error Warning message: In Ops.factor(get("Prediction"), n) : ‘/’ not meaningful for factors I don't know how to get rid of it and make my code run. Any idea about this error would be appreciated.

mayer79 commented 2 months ago

Please add a minimal reproducible example.