Class RegressionSufficientStatistics

java.lang.Object
org.tribuo.regression.evaluation.RegressionSufficientStatistics

public final class RegressionSufficientStatistics extends Object
The sufficient statistics for regression metrics (i.e., each prediction and each true value).
  • 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.