Predict
AI-generatedSummary
Makes predictions using a trained Random Forest model. Input items are augmented with a prediction field (and class probabilities when the model is a classifier).
Inputs
- input (required) — Items containing the feature columns specified in the Feature Columns parameter.
Output shape
array
Each input item with added 'prediction' field; for classifiers also a 'probabilities' field containing class probabilities.
Examples
Example 1: Predicting house prices with a trained regressor
model_type=regressor, model_data=
Example 2: Classifying iris species with a trained classifier
model_type=classifier, model_data=