package water.api;

import hex.ModelMetricsRegression;

public class ModelMetricsRegressionV3 extends ModelMetricsBase<ModelMetricsRegression, ModelMetricsRegressionV3> {
  @API(help="The Standard Deviation of the response for this scoring run.", direction=API.Direction.OUTPUT)
  public double sigma;

  @API(help="The Mean Squared Error of the prediction for this scoring run.", direction=API.Direction.OUTPUT)
  public double mse;

  @Override public ModelMetricsRegressionV3 fillFromImpl(ModelMetricsRegression modelMetrics) {
    super.fillFromImpl(modelMetrics);
    this.mse = modelMetrics._MSE;
    this.sigma = modelMetrics._sigma;
    return this;
  }
}

@@ -300,140 +300,8 @@
 a;%0A%0A
-  @API(help=%22The Mean Squared Error of the prediction for this scoring run.%22, direction=API.Direction.OUTPUT)%0A  public double mse;%0A%0A
   @O
@@ -434,42 +434,8 @@
 s);%0A
-    this.mse = modelMetrics._MSE;%0A
     

remove duplicate MSE output for Regression.