public class BinomialModelPrediction extends AbstractPrediction
Modifier and Type | Field and Description |
---|---|
double[] |
calibratedClassProbabilities
Class probabilities calibrated by Platt Scaling or Isotonic Regression.
|
double[] |
classProbabilities
This array of length two has the class probability for each class (aka categorical or factor level) in the
response column.
|
float[] |
contributions
Per-feature prediction contributions (SHAP values).
|
java.lang.String |
label
Label of the predicted level.
|
int |
labelIndex
0 or 1.
|
int[] |
leafNodeAssignmentIds |
java.lang.String[] |
leafNodeAssignments |
double[] |
stageProbabilities
Staged predictions of tree algorithms (prediction probabilities of trees per iteration).
|
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
public java.lang.String[] leafNodeAssignments
public int[] leafNodeAssignmentIds
public double[] stageProbabilities
public float[] contributions