Skip to content

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