bigframes.ml.linear_model.LinearRegression.fit#

LinearRegression.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 linear model.

Parameters:
Returns:

Fitted estimator.

Return type:

LinearRegression