You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can be reproduced by running experiment classification data set with gradient boosting, decision tree, or random forest classifiers.
Error message:
Traceback (most Recent Call Last): File "driver.py", Line 78, In Main(args, Param Grid) File "driver.py", Line 72, In Main Param Grid=param Grid File "/appsrc/machine/learn/skl Utils.py", Line 445, In Generate Results Target) File "/appsrc/machine/learn/skl Utils.py", Line 741, In Plot Shap Analysis Curve Explainer = Shap.TreeExplainer(model) File "/usr/local/lib/python3.7/site Packages/shap/explainers/ Tree.py", Line 143, In Init Self.model = TreeEnsemble(model, Self.data, Self.data Missing, Model Output) File "/usr/local/lib/python3.7/site Packages/shap/explainers/ Tree.py", Line 759, In Init Self.trees = [SingleTree(e.tree , Scaling=model.learning Rate, Data=data, Data Missing=data Missing) For E In Model.estimators [:,0]] File "/usr/local/lib/python3.7/site Packages/shap/explainers/ Tree.py", Line 759, In Self.trees = [SingleTree(e.tree , Scaling=model.learning Rate, Data=data, Data Missing=data Missing) For E In Model.estimators [:,0]] File "/usr/local/lib/python3.7/site Packages/shap/explainers/ Tree.py", Line 1109, In Init Assert Import("cext") File "/usr/local/lib/python3.7/site Packages/shap/utils/ General.py", Line 23, In Assert Import Raise E File "/usr/local/lib/python3.7/site Packages/shap/explainers/ Tree.py", Line 23, In From .. Import Cext ImportError: Numpy.core.multiarray Failed To Import
Can be reproduced by running experiment classification data set with gradient boosting, decision tree, or random forest classifiers.
Error message:
Seems to be related to shap/shap#1895
The text was updated successfully, but these errors were encountered: