- All Known Implementing Classes:
LIMEText
public interface TextExplainer<T extends Output<T>>
An explainer for text data. Hopefully uses a sensible sampling mechanism that understands text.
-
Method Summary
Converts the supplied text into an
Example
, and
generates an explanation of the contained
Model
's prediction.
-
Method Details
-
explain
Converts the supplied text into an
Example
, and
generates an explanation of the contained
Model
's prediction.
- Parameters:
inputText
- The text to explain.
- Returns:
- An explanation of the prediction on this input text.