Commit 719b278
feat: add
This PR adds support for `CREATE MODEL` statement in BigQuery ML via
`bigframes.bigquery.ml.create_model`.
It includes DDL generation logic handling various clauses like
TRANSFORM, OPTIONS, remote models, and different data input formats.
It also refactors `bigframes.core.sql` into a package to support the new
submodule.
---
*PR created automatically by Jules for task
[3846335972146851433](https://jules.google.com/task/3846335972146851433)
started by @tswast*
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Tim Sweña <[email protected]>bigframes.bigquery.ml methods (#2300)1 parent fafd7c7 commit 719b278
File tree
29 files changed
+3711
-6
lines changed- bigframes
- bigquery
- _operations
- core/sql
- ml
- docs/reference
- notebooks
- ml
- tests/unit
- bigquery
- core/sql
- snapshots/test_ml
- test_create_model_basic
- test_create_model_if_not_exists
- test_create_model_list_option
- test_create_model_remote_default
- test_create_model_remote
- test_create_model_replace
- test_create_model_training_data_and_holiday
- test_create_model_transform
- test_evaluate_model_basic
- test_evaluate_model_with_options
- test_evaluate_model_with_table
- test_explain_predict_model_basic
- test_explain_predict_model_with_options
- test_global_explain_model_basic
- test_global_explain_model_with_options
- test_predict_model_basic
- test_predict_model_with_options
29 files changed
+3711
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
160 | 161 | | |
0 commit comments