This value 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).
public java.lang.String leafNodeAssignments
public int leafNodeAssignmentIds
public double stageProbabilities
Staged predictions of tree algorithms (prediction probabilities of trees per iteration).
The output structure is for tree Tt and class Cc:
Binomial models: [probability T1.C1, probability T2.C1, ..., Tt.C1] where Tt.C1 correspond to the the probability p0
Multinomial models: [probability T1.C1, probability T1.C2, ..., Tt.Cc]
public float contributions
Per-feature prediction contributions (SHAP values).
Size of the returned array is #features + 1 - there is a feature contribution column for each input feature,
the last item is the model bias. The sum of the feature contributions and the bias term is equal to the raw
prediction of the model. Raw prediction of tree-based model is the sum of the predictions of the individual
trees before the inverse link function is applied to get the actual prediction.
For Gaussian distribution the sum of the contributions is equal to the model prediction.
(Optional) Available only for supported models (GBM, XGBoost).