public static class ModelMetricsGLRM.GlrmModelMetricsBuilder extends hex.ModelMetricsUnsupervised.MetricBuilderUnsupervised<ModelMetricsGLRM.GlrmModelMetricsBuilder>
Modifier and Type | Field and Description |
---|---|
long |
_catcnt |
boolean |
_impute_original |
double |
_miscls |
long |
_numcnt |
int[] |
_permutation |
Constructor and Description |
---|
ModelMetricsGLRM.GlrmModelMetricsBuilder(int dims,
int[] permutation) |
ModelMetricsGLRM.GlrmModelMetricsBuilder(int dims,
int[] permutation,
boolean impute_original) |
Modifier and Type | Method and Description |
---|---|
hex.ModelMetrics |
makeModelMetrics(hex.Model m,
water.fvec.Frame f,
water.fvec.Frame adaptedFrame,
water.fvec.Frame preds) |
double[] |
perRow(double[] preds,
float[] dataRow,
hex.Model m) |
void |
reduce(ModelMetricsGLRM.GlrmModelMetricsBuilder mm) |
public double _miscls
public long _numcnt
public long _catcnt
public int[] _permutation
public boolean _impute_original
public ModelMetricsGLRM.GlrmModelMetricsBuilder(int dims, int[] permutation)
public ModelMetricsGLRM.GlrmModelMetricsBuilder(int dims, int[] permutation, boolean impute_original)
public double[] perRow(double[] preds, float[] dataRow, hex.Model m)
perRow
in class hex.ModelMetrics.MetricBuilder<ModelMetricsGLRM.GlrmModelMetricsBuilder>
public void reduce(ModelMetricsGLRM.GlrmModelMetricsBuilder mm)
reduce
in class hex.ModelMetrics.MetricBuilder<ModelMetricsGLRM.GlrmModelMetricsBuilder>
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<ModelMetricsGLRM.GlrmModelMetricsBuilder>