Commit ab47f56
Helin Wang
feat(automl): expose disable_early_stopping option for create_model
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.htm1 parent 0c5405f commit ab47f56
1 file changed
+11
-1
lines changedLines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2106 | 2106 | | |
2107 | 2107 | | |
2108 | 2108 | | |
2109 | | - | |
| 2109 | + | |
2110 | 2110 | | |
2111 | 2111 | | |
| 2112 | + | |
2112 | 2113 | | |
2113 | 2114 | | |
2114 | 2115 | | |
| |||
2168 | 2169 | | |
2169 | 2170 | | |
2170 | 2171 | | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
2171 | 2176 | | |
2172 | 2177 | | |
2173 | 2178 | | |
| |||
2180 | 2185 | | |
2181 | 2186 | | |
2182 | 2187 | | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
2183 | 2191 | | |
2184 | 2192 | | |
2185 | 2193 | | |
| |||
2212 | 2220 | | |
2213 | 2221 | | |
2214 | 2222 | | |
| 2223 | + | |
| 2224 | + | |
2215 | 2225 | | |
2216 | 2226 | | |
2217 | 2227 | | |
| |||
0 commit comments