'numpy.ndarray' object has no attribute 'feature_names'
alexlaurence opened this issue · comments
I get this error
'numpy.ndarray' object has no attribute 'feature_names'
When trying to execute
explainer = AnchorTabular(model.predict, feature_names=X_test.columns.values.tolist())
I tried to convert to numpy array, but that did not work. Should I convert to xgb.Dmatrix(...) ?
Take a look at what the arguments for the explainer should be here