Open paulmwatson opened 2 years ago
Hello Paul, I got the same problem with multilabel classification:
explainer = LimeTextExplainer(class_names=class_names) exp = explainer.explain_instance(X_test.iloc[1], grid.predict_proba, num_features=10) fig = exp.as_pyplot_figure()
Given the sentence:
The current
explain_instance
returns:The order makes it impossible to determine which
cat
is which.Ideally the method would return in the input order:
I patched a fork for our needs but think this might be a useful option for others?