bigframes.ml.ensemble.RandomForestClassifier.fit#

RandomForestClassifier.fit(X: DataFrame | Series | DataFrame | Series, y: DataFrame | Series | DataFrame | Series, X_eval: DataFrame | Series | DataFrame | Series | None = None, y_eval: DataFrame | Series | DataFrame | Series | None = None) _T#

Build a forest of trees from the training set (X, y).

Parameters:
Returns:

Fitted estimator.

Return type:

ForestModel