From 631e53649015938dc60669bed0af38e12d1de576 Mon Sep 17 00:00:00 2001 From: Garrett Wu Date: Tue, 4 Jun 2024 21:13:56 +0000 Subject: [PATCH] docs: fix ML.EVALUATE spelling --- bigframes/ml/decomposition.py | 2 +- bigframes/ml/ensemble.py | 4 ++-- bigframes/ml/forecasting.py | 2 +- bigframes/ml/llm.py | 4 ++-- third_party/bigframes_vendored/sklearn/base.py | 4 ++-- third_party/bigframes_vendored/sklearn/cluster/_kmeans.py | 2 +- third_party/bigframes_vendored/sklearn/decomposition/_pca.py | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bigframes/ml/decomposition.py b/bigframes/ml/decomposition.py index ad0bce481f..41dea7617f 100644 --- a/bigframes/ml/decomposition.py +++ b/bigframes/ml/decomposition.py @@ -190,5 +190,5 @@ def score( if not self._bqml_model: raise RuntimeError("A model must be fitted before score") - # TODO(b/291973741): X param is ignored. Update BQML supports input in ML.EVALUTE. + # TODO(b/291973741): X param is ignored. Update BQML supports input in ML.EVALUATE. return self._bqml_model.evaluate() diff --git a/bigframes/ml/ensemble.py b/bigframes/ml/ensemble.py index 8fc1e22146..0194d768b8 100644 --- a/bigframes/ml/ensemble.py +++ b/bigframes/ml/ensemble.py @@ -460,7 +460,7 @@ def score( .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#regression_models for the outputs relevant to this model type. @@ -616,7 +616,7 @@ def score( .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#classification_models for the outputs relevant to this model type. diff --git a/bigframes/ml/forecasting.py b/bigframes/ml/forecasting.py index a87df61801..a1ae8435d5 100644 --- a/bigframes/ml/forecasting.py +++ b/bigframes/ml/forecasting.py @@ -313,7 +313,7 @@ def score( .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#time_series_models for the outputs relevant to this model type. diff --git a/bigframes/ml/llm.py b/bigframes/ml/llm.py index c94a1184e7..f62867cdd5 100644 --- a/bigframes/ml/llm.py +++ b/bigframes/ml/llm.py @@ -329,7 +329,7 @@ def score( .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#remote-model-llm for the outputs relevant to this model type. @@ -751,7 +751,7 @@ def score( .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#remote-model-llm for the outputs relevant to this model type. diff --git a/third_party/bigframes_vendored/sklearn/base.py b/third_party/bigframes_vendored/sklearn/base.py index 1a151a1119..57c9e79f8d 100644 --- a/third_party/bigframes_vendored/sklearn/base.py +++ b/third_party/bigframes_vendored/sklearn/base.py @@ -87,7 +87,7 @@ def score(self, X, y): .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#classification_models for the outputs relevant to this model type. @@ -115,7 +115,7 @@ def score(self, X, y): .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#regression_models for the outputs relevant to this model type. diff --git a/third_party/bigframes_vendored/sklearn/cluster/_kmeans.py b/third_party/bigframes_vendored/sklearn/cluster/_kmeans.py index 386b620f4a..aaf43dbcfe 100644 --- a/third_party/bigframes_vendored/sklearn/cluster/_kmeans.py +++ b/third_party/bigframes_vendored/sklearn/cluster/_kmeans.py @@ -103,7 +103,7 @@ def score( .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#k-means_models for the outputs relevant to this model type. diff --git a/third_party/bigframes_vendored/sklearn/decomposition/_pca.py b/third_party/bigframes_vendored/sklearn/decomposition/_pca.py index 71e53bf4a9..ae6f0b0561 100644 --- a/third_party/bigframes_vendored/sklearn/decomposition/_pca.py +++ b/third_party/bigframes_vendored/sklearn/decomposition/_pca.py @@ -52,7 +52,7 @@ def score(self, X=None, y=None): .. note:: - Output matches that of the BigQuery ML.EVALUTE function. + Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#pca_models for the outputs relevant to this model type.