Skip to content
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(automl): expose disable_early_stopping option for create_model #9779

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

helinwang
Copy link
Contributor

@helinwang helinwang commented Nov 12, 2019

Disable early stopping is turned off by default. It's defined in proto
here:

This PR:

  • exposes disable_early_stopping option for TablesClient.create_model.
  • changes the default value of create_model's parameter model_metadata
    from empty dict to None. Default parameter values in Python is
    non-intuitive: http://effbot.org/zone/default-values.htm

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 12, 2019
@busunkim96 busunkim96 requested a review from sirtorry November 12, 2019 21:32
Disable early stopping is turned off by default. It's defined in proto
here:
https://github.com/googleapis/google-cloud-python/blob/bfb4da8542981d2eedffe20f64e87ab528a17592/automl/google/cloud/automl_v1beta1/proto/tables.proto#L196

This PR:
- exposes disable_early_stopping option for TablesClient.create_model.
- changes the default value of create_model's parameter model_metadata
  from empty dict to None. Default parameter values in Python is
  non-intuitive: http://effbot.org/zone/default-values.htm
@helinwang helinwang merged commit 96baa3d into googleapis:master Nov 12, 2019
@helinwang helinwang deleted the early_stop branch November 12, 2019 22:59
parthea pushed a commit that referenced this pull request Oct 21, 2023
…9779)

Disable early stopping is turned off by default. It's defined in proto
here:
https://github.com/googleapis/google-cloud-python/blob/19ccb8527897caa9e4139a5c023a2e9b217a902b/automl/google/cloud/automl_v1beta1/proto/tables.proto#L196

This PR:
- exposes disable_early_stopping option for TablesClient.create_model.
- changes the default value of create_model's parameter model_metadata
  from empty dict to None. Default parameter values in Python is
  non-intuitive: http://effbot.org/zone/default-values.htm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants