public class MultinomialModelPrediction 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.
|
int[] |
leafNodeAssignmentIds |
java.lang.String[] |
leafNodeAssignments |
double[] |
stageProbabilities
Staged predictions of tree algorithms (prediction probabilities of trees per iteration).
|
Constructor and Description |
---|
MultinomialModelPrediction() |
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.
public java.lang.String[] leafNodeAssignments
public int[] leafNodeAssignmentIds
public double[] stageProbabilities