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