bigframes.ml.ensemble.XGBClassifier.fit#

XGBClassifier.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#

Fit gradient boosting model.

Note that calling fit() multiple times will cause the model object to be re-fit from scratch. To resume training from a previous checkpoint, explicitly pass xgb_model argument.

Parameters:
Returns:

Fitted estimator.

Return type:

XGBModel