bigframes.ml.linear_model.LogisticRegression.fit#

LogisticRegression.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 the model according to the given training data.

Parameters:
Returns:

Fitted estimator.

Return type:

LogisticRegression