This repository was archived by the owner on May 7, 2026. It is now read-only.
Commit d29a609
authored
feat: add bigquery.ml.get_insights function (#2493)
Thank you for opening a Pull Request! Before submitting your PR, there
are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a
[bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
Fixes #<issue_number_goes_here> 🦕1 parent ce5de57 commit d29a609Copy full SHA for d29a609
8 files changed
+88-5Lines changed: 88 additions & 5 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- bigframes
- bigquery
- _operations
- core/sql
- tests
- system/large/bigquery
- unit
- bigquery
- core/sql
- snapshots/test_ml/test_get_insights_model_basic
Expand file treeCollapse file tree
Open diff view settings
Collapse file
-5Lines changed: 0 additions & 5 deletions
This file was deleted.
Collapse file
bigframes/bigquery/_operations/ml.py
Copy file name to clipboardExpand all lines: bigframes/bigquery/_operations/ml.py+33Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
480 | 480 | |
481 | 481 | |
482 | 482 | |
| 483 | + |
| 484 | + |
| 485 | + |
| 486 | + |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
| 494 | + |
| 495 | + |
| 496 | + |
| 497 | + |
| 498 | + |
| 499 | + |
| 500 | + |
| 501 | + |
| 502 | + |
| 503 | + |
| 504 | + |
| 505 | + |
| 506 | + |
| 507 | + |
| 508 | + |
| 509 | + |
| 510 | + |
| 511 | + |
| 512 | + |
| 513 | + |
| 514 | + |
| 515 | + |
483 | 516 | |
484 | 517 | |
485 | 518 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
| 28 | + |
28 | 29 | |
29 | 30 | |
30 | 31 | |
| ||
39 | 40 | |
40 | 41 | |
41 | 42 | |
| 43 | + |
42 | 44 | |
Collapse file
+10Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
266 | 266 | |
267 | 267 | |
268 | 268 | |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
| 277 | + |
| 278 | + |
269 | 279 | |
270 | 280 | |
271 | 281 | |
|
Collapse file
tests/system/large/bigquery/test_ml.py
Copy file name to clipboardExpand all lines: tests/system/large/bigquery/test_ml.py+26Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
64 | 64 | |
65 | 65 | |
66 | 66 | |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
67 | 93 | |
68 | 94 | |
69 | 95 | |
|
Collapse file
tests/unit/bigquery/test_ml.py
Copy file name to clipboardExpand all lines: tests/unit/bigquery/test_ml.py+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
177 | 177 | |
178 | 178 | |
179 | 179 | |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | + |
| 188 | + |
180 | 189 | |
181 | 190 | |
182 | 191 | |
|
Collapse file
tests/unit/core/sql/snapshots/test_ml/test_get_insights_model_basic/get_insights_model_basic.sql
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
Collapse file
tests/unit/core/sql/test_ml.py
Copy file name to clipboardExpand all lines: tests/unit/core/sql/test_ml.py+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
203 | 203 | |
204 | 204 | |
205 | 205 | |
| 206 | + |
| 207 | + |
| 208 | + |
| 209 | + |
| 210 | + |
| 211 | + |
| 212 | + |
206 | 213 | |
207 | 214 | |
208 | 215 | |
|
0 commit comments