-
Notifications
You must be signed in to change notification settings - Fork 353
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
feat: Added forecasting snippets and fixed bugs with existing snippets #1210
feat: Added forecasting snippets and fixed bugs with existing snippets #1210
Conversation
Here is the summary of changes. You are about to add 6 region tags.
This comment is generated by snippet-bot.
|
8f89496
to
d0c2ca6
Compare
samples/model-builder/create_training_pipeline_forecasting_sample_test.py
Show resolved
Hide resolved
samples/model-builder/create_and_import_dataset_time_series_bigquery_sample.py
Show resolved
Hide resolved
sync=sync, | ||
) | ||
|
||
model.wait() |
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.
If we're always going to call wait()
right after, why not just always have sync=True
and remove sync as an arg? I see some run args not present (e.g. predefined_split_column_name
, weight_column
, context_window
, export_evaluated_data_times...
), so I imagine it's fine to omit sync
.
Optional: I think context_window
and the args associated with exporting evaluations on the test set are pretty important/commonly used. Would be nice to see them in the sample.
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.
Thanks Michael, I will add the other args that are important.
Let me double-check about sync, as I'm following the common convention for other samples.
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.
The sync is to show users that they can call sync if they use the async API.
dfe08e3
to
b0e4f5e
Compare
1d7a6cd
to
9d4d699
Compare
#1210) * Added dataset snippets * Fixed typehint and missing parameter bugs as well as added new samples * Fixed lint issues * Added bq batch_prediction bq snippets * Removed unneeded fixture * Renamed bq_source to bigquery_source * Added back explain_tabular_sample.py for now * Fixed tests * Fixed lint issues
Issues with existing snippets fixed
str
and not anint
Added snippets and accompanying tests