Interface Explanation<T extends org.tribuo.Output<T>>

All Superinterfaces:
Serializable
All Known Implementing Classes:
LIMEExplanation

public interface Explanation<T extends org.tribuo.Output<T>> extends Serializable
An explanation knows what features are used, what the explaining Model is and what the original Model's prediction is.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the names of the active features in this explanation.
    org.tribuo.Model<T>
    Returns the explanining model.
    org.tribuo.Prediction<Label>
    The original model's prediction which is being explained.
  • Method Details

    • getActiveFeatures

      Returns the names of the active features in this explanation.
      Returns:
      The active feature names.
    • getModel

      org.tribuo.Model<T> getModel()
      Returns the explanining model.
      Returns:
      The explanation model.
    • getPrediction

      org.tribuo.Prediction<Label> getPrediction()
      The original model's prediction which is being explained.
      Returns:
      The original prediction.