public class OrdinalModelPrediction extends AbstractPrediction
Modifier and Type | Field and Description |
---|---|
double[] |
classProbabilities
This array has an element for each class (aka categorical or factor level) in the response column.
|
java.lang.String |
label
Label of the predicted level.
|
int |
labelIndex
Index number of the predicted class (aka categorical or factor level) in the response column.
|
Constructor and Description |
---|
OrdinalModelPrediction() |
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. If they are valid numeric values, then they will sum up to 1.0.