public class BinomialModelPrediction extends AbstractPrediction
Modifier and Type | Field and Description |
---|---|
double[] |
calibratedClassProbabilities
Class probabilities calibrated by Platt Scaling.
|
double[] |
classProbabilities
This array of length two has the class probability for each class (aka categorical or factor level) in the
response column.
|
java.lang.String |
label
Label of the predicted level.
|
int |
labelIndex
0 or 1.
|
Constructor and Description |
---|
BinomialModelPrediction() |
public int labelIndex
public java.lang.String label
public double[] classProbabilities
model.getDomainValues(model.getResponseIdx())"Domain" is the internal H2O term for level names. The values in this array may be Double.NaN, which means NA (this will happen with GLM, for example, if one of the input values for a new data point is NA). If they are valid numeric values, then they will sum up to 1.0.
public double[] calibratedClassProbabilities