RandomForestClassifierModel predict¶
-
predict
(self, frame, observation_columns=None)¶ [ALPHA] Predict the labels for the data points.
Parameters: frame : Frame
A frame whose labels are to be predicted. By default, predict is run on the same columns over which the model is trained.
observation_columns : list (default=None)
Column(s) containing the observations whose labels are to be predicted. By default, we predict the labels over columns the RandomForestModel was trained on.
Returns: : Frame
A new frame consisting of the existing columns of the frame and a new column with predicted label for each observation.
Predict the labels for a test frame using trained Random Forest Classifier model, and create a new frame revision with existing columns and a new predicted label’s column.
Examples
See here for examples.