@Deprecated public final class WeightedPredictionsAggregator extends Object implements PredictionsAggregator
| Constructor and Description |
|---|
WeightedPredictionsAggregator(double[] weights)
Deprecated.
Constructs WeightedPredictionsAggregator instance.
|
WeightedPredictionsAggregator(double[] weights,
double bias)
Deprecated.
Constructs WeightedPredictionsAggregator instance.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
apply(double[] answers)
Deprecated.
|
double |
getBias()
Deprecated.
|
double[] |
getWeights()
Deprecated.
|
String |
toString()
Deprecated.
|
String |
toString(boolean pretty)
Deprecated.
Represents aggregator as String.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitandThen, constant, identitypublic WeightedPredictionsAggregator(double[] weights)
weights - Weights.public WeightedPredictionsAggregator(double[] weights,
double bias)
weights - Weights.bias - Bias.public Double apply(double[] answers)
public String toString(boolean pretty)
toString in interface PredictionsAggregatorpretty - Use pretty mode.public double[] getWeights()
public double getBias()
GridGain In-Memory Computing Platform : ver. 8.9.38 Release Date : September 22 2026