All Downloads are FREE. Search and download functionalities are using the official Maven repository.

water.api.ModelMetricsRegressionGLMV3 Maven / Gradle / Ivy

package water.api;

import hex.ModelMetricsRegressionGLM;
import water.api.API.Direction;

/**
 * Created by tomasnykodym on 4/20/15.
 */
public class ModelMetricsRegressionGLMV3 extends ModelMetricsRegressionV3 {

  @API(help = "residual deviance", direction = Direction.OUTPUT)
  public double residual_deviance;

  @API(help = "null deviance", direction = Direction.OUTPUT)
  public double null_deviance;

  @API(help = "AIC", direction = Direction.OUTPUT)
  public double AIC;

  @API(help="null DOF", direction= Direction.OUTPUT)
  public long null_degrees_of_freedom;

  @API(help="residual DOF", direction= Direction.OUTPUT)
  public long residual_degrees_of_freedom;


  @Override
  public ModelMetricsRegressionGLMV3 fillFromImpl(ModelMetricsRegressionGLM modelMetrics) {
    super.fillFromImpl(modelMetrics);
    this.AIC = modelMetrics._AIC;
    this.residual_deviance = modelMetrics._resDev;
    this.null_deviance = modelMetrics._nullDev;
    this.null_degrees_of_freedom = modelMetrics._nullDegressOfFreedom;
    this.residual_degrees_of_freedom = modelMetrics._residualDegressOfFreedom;
    return this;
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy