Interface TextExplainer<T extends Output<T>>

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

    Modifier and Type
    Method
    Description
    explain(String inputText)
    Converts the supplied text into an Example, and generates an explanation of the contained Model's prediction.
  • Method Details

    • explain

      Explanation<T> explain(String inputText)
      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.