Skip to content

feat: add support for hparam_range and hparam_candidates to bigframes.bigquery.create_model#16640

Open
tswast wants to merge 3 commits intofeat-bigframes-create-model-expression-options-15193413976404138758from
b501171054-hparam
Open

feat: add support for hparam_range and hparam_candidates to bigframes.bigquery.create_model#16640
tswast wants to merge 3 commits intofeat-bigframes-create-model-expression-options-15193413976404138758from
b501171054-hparam

Conversation

@tswast
Copy link
Copy Markdown
Contributor

@tswast tswast commented Apr 13, 2026

Fixes internal issue b/501171054
🦕

@tswast tswast requested review from a team as code owners April 13, 2026 21:46
@tswast tswast requested review from TrevorBergeron and removed request for a team April 13, 2026 21:46
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces hparam_range and hparam_candidates functions to the bigframes.bigquery module, enabling support for hyperparameter tuning in BigQuery ML model creation. These functions wrap the HPARAM_RANGE and HPARAM_CANDIDATES SQL functions. The review feedback recommends simplifying the type hints for these new functions, noting that in Python type annotations, float already encompasses int.

tswast and others added 2 commits April 13, 2026 16:48
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant