T
- public class MetricBuilderPSVM<T extends MetricBuilderPSVM<T>>
extends hex.ModelMetricsSupervised.MetricBuilderSupervised<T>
Modifier and Type | Field and Description |
---|---|
protected hex.AUC2.AUCBuilder |
_auc |
Constructor and Description |
---|
MetricBuilderPSVM(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) |
double[] |
perRow(double[] ds,
float[] yact,
hex.Model m) |
void |
reduce(T mb) |
java.lang.String |
toString() |
cachePrediction, makePredictionCache, postGlobal, postGlobal, reduce, reduceForCV, setCustomMetric, weightedSigma
public double[] perRow(double[] ds, float[] yact, hex.Model m)
perRow
in class hex.ModelMetrics.MetricBuilder<T extends MetricBuilderPSVM<T>>
public double[] perRow(double[] ds, float[] yact, double w, double o, hex.Model m)
perRow
in class hex.ModelMetrics.MetricBuilder<T extends MetricBuilderPSVM<T>>
public void reduce(T mb)
reduce
in class hex.ModelMetrics.MetricBuilder<T extends MetricBuilderPSVM<T>>
public hex.ModelMetrics makeModelMetrics(hex.Model m, water.fvec.Frame f, water.fvec.Frame frameWithWeights, water.fvec.Frame preds)
makeModelMetrics
in class hex.ModelMetrics.MetricBuilder<T extends MetricBuilderPSVM<T>>
m
- Modelf
- FrameframeWithWeights
- Frame that contains extra columns such as weightspreds
- Optional predictions (can be null), only used to compute Gains/Lift table for binomial problems @returnpublic java.lang.String toString()
toString
in class java.lang.Object