bigframes.ml.linear_model.LinearRegression.predict#
- LinearRegression.predict(X: DataFrame | Series | DataFrame | Series) DataFrame[source]#
Predict using the linear model.
- Parameters:
X (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) – Series or DataFrame of shape (n_samples, n_features). Samples.
- Returns:
DataFrame of shape (n_samples, n_input_columns + n_prediction_columns). Returns predicted values.
- Return type: