-
Notifications
You must be signed in to change notification settings - Fork 48
docs: add snippet for predicting classifications using a boosted tree model #1156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
We'll need to wait for #1142 before we can merge this because of the tests, which need the model to be created via Python. I don't think you will need to make any changes to this code sample besides resolving the merge conflicts to put this sample after the create model one, though. |
…query_dataframes_bqml_boosted_tree_evaluate
@@ -62,7 +62,7 @@ def test_boosted_tree_model(random_model_id: str) -> None: | |||
replace=True, | |||
) | |||
# [END bigquery_dataframes_bqml_boosted_tree_create] | |||
# [START bigquery_dataframes_bqml_boosted_tree_explain] | |||
# [START bigquery_dataframes_bqml_boosted_tree_evaluate] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best not to rename these, though in this case it should be OK since we haven't added the samples to cloud.google.com/bigquery/docs yet
Here is the summary of changes. You are about to add 2 region tags.
You are about to delete 1 region tag.
This comment is generated by snippet-bot.
|
… model
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:
Fixes #<issue_number_goes_here> 🦕