GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(automl): expose disable_early_stopping option for create_model by helinwang · Pull Request #9779 · googleapis/google-cloud-python

Conversation

@helinwang

@helinwang helinwang commented Nov 12, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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

google-cloud-python/automl/google/cloud/automl_v1beta1/proto/tables.proto

Line 196 in bfb4da8

bool disable_early_stopping = 12;

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@helinwang
helinwang requested a review from busunkim96 as a code owner November 12, 2019 21:01
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 12, 2019
@helinwang
helinwang force-pushed the early_stop branch from 79918bb to ab47f56 Compare November 12, 2019 21:07
@busunkim96
busunkim96 requested a review from sirtorry November 12, 2019 21:32
Helin Wang
feat(automl): expose disable_early_stopping option for create_model
f9ea0ee
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 force-pushed the early_stop branch from ab47f56 to f9ea0ee Compare November 12, 2019 21:51
sirtorry
sirtorry approved these changes Nov 12, 2019
View reviewed changes
@helinwang
helinwang merged commit 96baa3d into googleapis:master Nov 12, 2019
@helinwang
helinwang deleted the early_stop branch November 12, 2019 22:59
@sirtorry sirtorry mentioned this pull request Nov 14, 2019
fix(automl): pass params to underlying client #9794
Merged
This was referenced Jan 29, 2020
chore(bigquery): bump copyright year to 2020, tweak docstring formatting (via synth) #10225
Merged
[CHANGE ME] Re-generated container to pick up changes in the API or client library generator. #10256
Closed
[CHANGE ME] Re-generated datastore to pick up changes in the API or client library generator. #10261
Closed
parthea pushed a commit that referenced this pull request Oct 21, 2023
@helinwang
feat(automl): expose disable_early_stopping option for create_model (#…
3572d6e
…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

Reviewers

@busunkim96 busunkim96 Awaiting requested review from busunkim96
1 more reviewer
@sirtorry sirtorry sirtorry approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@helinwang @sirtorry @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.