public class MetricBuilderGAM extends hex.ModelMetricsSupervised.MetricBuilderSupervised<MetricBuilderGAM>
Constructor and Description |
---|
MetricBuilderGAM(java.lang.String[] domain,
double[] ymu,
GLMModel.GLMWeightsFun glmf,
int rank,
boolean computeMetrics,
boolean intercept,
int nclass,
hex.MultinomialAucType aucType) |
Modifier and Type | Method and Description |
---|---|
protected void |
computeAIC() |
hex.ModelMetrics |
makeModelMetrics(hex.Model m,
water.fvec.Frame f,
water.fvec.Frame adaptedFrame,
water.fvec.Frame preds) |
long |
nullDOF() |
double[] |
perRow(double[] ds,
float[] yact,
double weight,
double offset,
hex.Model m) |
double[] |
perRow(double[] ds,
float[] yact,
hex.Model m) |
void |
reduce(MetricBuilderGAM other) |
long |
resDOF() |
double |
residualDeviance() |
cachePrediction, makePredictionCache, postGlobal, postGlobal, reduce, reduceForCV, setCustomMetric, weightedSigma
public MetricBuilderGAM(java.lang.String[] domain, double[] ymu, GLMModel.GLMWeightsFun glmf, int rank, boolean computeMetrics, boolean intercept, int nclass, hex.MultinomialAucType aucType)
public double[] perRow(double[] ds, float[] yact, double weight, double offset, hex.Model m)
perRow
in class hex.ModelMetrics.MetricBuilder<MetricBuilderGAM>
public void reduce(MetricBuilderGAM other)
reduce
in class hex.ModelMetrics.MetricBuilder<MetricBuilderGAM>
public final double residualDeviance()
public final long nullDOF()
public final long resDOF()
protected void computeAIC()
public double[] perRow(double[] ds, float[] yact, hex.Model m)
perRow
in class hex.ModelMetrics.MetricBuilder<MetricBuilderGAM>
public hex.ModelMetrics makeModelMetrics(hex.Model m, water.fvec.Frame f, water.fvec.Frame adaptedFrame, water.fvec.Frame preds)
makeModelMetrics
in class hex.ModelMetrics.MetricBuilder<MetricBuilderGAM>