public class MetricBuilderAnomalySupervised extends hex.ModelMetricsBinomial.MetricBuilderBinomial<MetricBuilderAnomalySupervised>
Constructor and Description |
---|
MetricBuilderAnomalySupervised(java.lang.String[] domain) |
Modifier and Type | Method and Description |
---|---|
hex.ModelMetrics |
makeModelMetrics(hex.Model m,
water.fvec.Frame f,
water.fvec.Frame frameWithWeights,
water.fvec.Frame preds)
Create a ModelMetrics for a given model and frame
|
double[] |
perRow(double[] ds,
float[] yact,
double w,
double o,
hex.Model m) |
auc, cachePrediction, makePredictionCache, perRow, pr_auc, reduce, toString
postGlobal, postGlobal, reduce, reduceForCV, setCustomMetric, weightedSigma
public MetricBuilderAnomalySupervised(java.lang.String[] domain)
public hex.ModelMetrics makeModelMetrics(hex.Model m, water.fvec.Frame f, water.fvec.Frame frameWithWeights, water.fvec.Frame preds)
makeModelMetrics
in class hex.ModelMetricsBinomial.MetricBuilderBinomial<MetricBuilderAnomalySupervised>
m
- Modelf
- FrameframeWithWeights
- Frame that contains extra columns such as weights (not used by MetricBuilderAnomalySupervised)preds
- optional predictions (can be null, not used by MetricBuilderAnomalySupervised)public double[] perRow(double[] ds, float[] yact, double w, double o, hex.Model m)
perRow
in class hex.ModelMetricsBinomial.MetricBuilderBinomial<MetricBuilderAnomalySupervised>