Class RegressionSufficientStatistics
java.lang.Object
org.tribuo.regression.evaluation.RegressionSufficientStatistics
The sufficient statistics for regression metrics (i.e., each prediction and each true value).
-
Constructor Summary
ConstructorsConstructorDescriptionRegressionSufficientStatistics(ImmutableOutputInfo<Regressor> domain, List<Prediction<Regressor>> predictions, boolean useExampleWeights) Constructs the sufficient statistics for regression metrics. -
Method Summary
-
Constructor Details
-
RegressionSufficientStatistics
public RegressionSufficientStatistics(ImmutableOutputInfo<Regressor> domain, List<Prediction<Regressor>> predictions, boolean useExampleWeights) Constructs the sufficient statistics for regression metrics.- Parameters:
domain- The output domain.predictions- The predictions.useExampleWeights- Should example weights be used.
-