Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.
Merged
12 changes: 12 additions & 0 deletions bigframes/ml/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,12 @@ def score(
):
"""Calculate evaluation metrics of the model.

.. note::

Output matches that of the BigQuery ML.EVALUTE function.
See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#regression_models
for the outputs relevant to this model type.

Args:
X (bigframes.dataframe.DataFrame or bigframes.series.Series):
A BigQuery DataFrame as evaluation data.
Expand Down Expand Up @@ -676,6 +682,12 @@ def score(
):
"""Calculate evaluation metrics of the model.

.. note::

Output matches that of the BigQuery ML.EVALUTE function.