public static class ModelMetricsAnomaly.MetricBuilderAnomaly extends hex.ModelMetricsUnsupervised.MetricBuilderUnsupervised<ModelMetricsAnomaly.MetricBuilderAnomaly>
Constructor and Description |
---|
MetricBuilderAnomaly() |
MetricBuilderAnomaly(java.lang.String description,
boolean outputAnomalyFlag) |
Modifier and Type | Method and Description |
---|---|
hex.ModelMetrics |
makeModelMetrics(hex.Model m,
water.fvec.Frame f) |
double[] |
perRow(double[] preds,
float[] dataRow,
hex.Model m) |
void |
reduce(ModelMetricsAnomaly.MetricBuilderAnomaly mb) |
makeModelMetrics
cachePrediction, makePredictionCache, perRow, postGlobal, postGlobal, reduce, reduceForCV, setCustomMetric, weightedSigma
public MetricBuilderAnomaly()
public MetricBuilderAnomaly(java.lang.String description, boolean outputAnomalyFlag)
public double[] perRow(double[] preds, float[] dataRow, hex.Model m)
perRow
in class hex.ModelMetrics.MetricBuilder<ModelMetricsAnomaly.MetricBuilderAnomaly>
public void reduce(ModelMetricsAnomaly.MetricBuilderAnomaly mb)
reduce
in class hex.ModelMetrics.MetricBuilder<ModelMetricsAnomaly.MetricBuilderAnomaly>
public hex.ModelMetrics makeModelMetrics(hex.Model m, water.fvec.Frame f)
makeModelMetrics
in class hex.ModelMetricsUnsupervised.MetricBuilderUnsupervised<ModelMetricsAnomaly.MetricBuilderAnomaly>