bigframes.ml.linear_model.LogisticRegression.predict#
- LogisticRegression.predict(X: DataFrame | Series | DataFrame | Series) DataFrame[source]#
Predict class labels for samples in X.
- 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). The data matrix for which we want to get the predictions.
- Returns:
DataFrame of shape (n_samples, n_input_columns + n_prediction_columns). Returns predicted values.
- Return type: