We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I am working on a multi-class classification text model. I am trying to use LIME to intrepret the model results but getting the error like:
TypeError: TextEncodeInput must be Union[TextInputSequence, Tuple[InputSequence, InputSequence]]
This is coming when I am running the below code:
explainer = LimeTextExplainer(class_names=class_names) exp = explainer.explain_instance(text), classifier_fn=prediction_res, num_features = 63 , num_samples = 1000)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I am working on a multi-class classification text model.
I am trying to use LIME to intrepret the model results but getting the error like:
TypeError: TextEncodeInput must be Union[TextInputSequence, Tuple[InputSequence, InputSequence]]
This is coming when I am running the below code:
explainer = LimeTextExplainer(class_names=class_names)
exp = explainer.explain_instance(text), classifier_fn=prediction_res,
num_features = 63 , num_samples = 1000)
The text was updated successfully, but these errors were encountered: