bigframes.ml.remote.VertexAIModel.predict#

VertexAIModel.predict(X: DataFrame | Series | DataFrame | Series) DataFrame[source]#

Predict the result from the input DataFrame.

Parameters:

X (bigframes.pandas.DataFrame or bigframes.pandas.Series or pandas.DataFrame or pandas.Series) – Input DataFrame or Series, which needs to comply with the input parameter of the model.

Returns:

DataFrame of shape (n_samples, n_input_columns + n_prediction_columns). Returns predicted values.

Return type:

bigframes.pandas.DataFrame