Package org.tribuo.ensemble
Class EnsembleExcuse<T extends Output<T>>
java.lang.Object
org.tribuo.Excuse<T>
org.tribuo.ensemble.EnsembleExcuse<T>
An
Excuse
which has a List of excuses for each of the ensemble members.-
Constructor Summary
ConstructorDescriptionEnsembleExcuse
(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. -
Method Summary
Modifier and TypeMethodDescriptionThe individual ensemble member's excuses.Methods inherited from class org.tribuo.Excuse
excuse, getExample, getPrediction, getScores
-
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
The individual ensemble member's excuses.- Returns:
- The individual excuses.
-