From 97d92594ae400e3ad6aafade862380ff1bf48e58 Mon Sep 17 00:00:00 2001 From: Shuowei Li Date: Tue, 3 Dec 2024 00:16:38 +0000 Subject: [PATCH 1/3] docs(bigquery): update minor parts in base.py --- bigframes/ml/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigframes/ml/base.py b/bigframes/ml/base.py index 5662e54d6d..26918f67cd 100644 --- a/bigframes/ml/base.py +++ b/bigframes/ml/base.py @@ -33,7 +33,7 @@ class BaseEstimator(bigframes_vendored.sklearn.base.BaseEstimator, abc.ABC): """ - A BigQuery DataFrames machine learning component following the SKLearn API + A BigQuery DataFrames machine learning component follows SKLearn API design Ref: https://bit.ly/3NyhKjN The estimator is the fundamental abstraction for all learning components. This includes learning From c9318d0212f4b357806e6be94a9bc04820c03e23 Mon Sep 17 00:00:00 2001 From: Shuowei Li Date: Tue, 3 Dec 2024 00:20:51 +0000 Subject: [PATCH 2/3] docs(bigquery): update minor changes for bigframes/ml/base.py --- bigframes/ml/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigframes/ml/base.py b/bigframes/ml/base.py index 26918f67cd..4058647adb 100644 --- a/bigframes/ml/base.py +++ b/bigframes/ml/base.py @@ -33,7 +33,7 @@ class BaseEstimator(bigframes_vendored.sklearn.base.BaseEstimator, abc.ABC): """ - A BigQuery DataFrames machine learning component follows SKLearn API + A BigQuery DataFrames machine learning component follows sklearn API design Ref: https://bit.ly/3NyhKjN The estimator is the fundamental abstraction for all learning components. This includes learning From 5b11dfc782f03b76a226a5a7da631ca8ffc5cc91 Mon Sep 17 00:00:00 2001 From: Shuowei Li Date: Thu, 5 Dec 2024 18:59:34 +0000 Subject: [PATCH 3/3] udpate docs in semantics.py to match the text-embedding-005 update --- bigframes/operations/semantics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigframes/operations/semantics.py b/bigframes/operations/semantics.py index 644c0535fd..c605f30765 100644 --- a/bigframes/operations/semantics.py +++ b/bigframes/operations/semantics.py @@ -652,7 +652,7 @@ def search( >>> df = bpd.DataFrame({"creatures": ["salmon", "sea urchin", "frog", "chimpanzee"]}) >>> df.semantics.search("creatures", "monkey", top_k=1, model=model, score_column='distance') creatures distance - 3 chimpanzee 0.781101 + 3 chimpanzee 0.635844 [1 rows x 2 columns]