Class EnsembleExcuse<T extends Output<T>>

java.lang.Object
org.tribuo.Excuse<T>
org.tribuo.ensemble.EnsembleExcuse<T>

public class EnsembleExcuse<T extends Output<T>> extends Excuse<T>
An Excuse which has a List of excuses for each of the ensemble members.
  • Constructor Details

    • EnsembleExcuse

      public EnsembleExcuse(Example<T> example, Prediction<T> prediction, Map<String,List<com.oracle.labs.mlrg.olcut.util.Pair<String,Double>>> weights, List<Excuse<T>> innerExcuses)
      Constructs an ensemble excuse, comprising the excuses from each ensemble member, along with the feature weights.
      Parameters:
      example - The example.
      prediction - The prediction to excuse.
      weights - The weights.
      innerExcuses - The ensemble member excuses.
  • Method Details

    • getInnerExcuses

      public List<Excuse<T>> getInnerExcuses()
      The individual ensemble member's excuses.
      Returns:
      The individual excuses.