public class AveragingCombiner extends Object implements EnsembleCombiner<Regressor>
Constructor and Description |
---|
AveragingCombiner() |
Modifier and Type | Method and Description |
---|---|
Prediction<Regressor> |
combine(ImmutableOutputInfo<Regressor> outputInfo,
List<Prediction<Regressor>> predictions)
Combine the predictions.
|
Prediction<Regressor> |
combine(ImmutableOutputInfo<Regressor> outputInfo,
List<Prediction<Regressor>> predictions,
float[] weights)
Combine the supplied predictions.
|
com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance |
getProvenance() |
String |
toString() |
public Prediction<Regressor> combine(ImmutableOutputInfo<Regressor> outputInfo, List<Prediction<Regressor>> predictions)
EnsembleCombiner
combine
in interface EnsembleCombiner<Regressor>
outputInfo
- The output domain.predictions
- The predictions to combine.public Prediction<Regressor> combine(ImmutableOutputInfo<Regressor> outputInfo, List<Prediction<Regressor>> predictions, float[] weights)
EnsembleCombiner
combine
in interface EnsembleCombiner<Regressor>
outputInfo
- The output domain.predictions
- The predictions to combine.weights
- The weights to use for each prediction.public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.