Skip to content

Commit fdbdaf1

Browse files
author
Github Actions
committed
Arlind Kadra: Cocktail hotfixes (#245)
1 parent f7c29d1 commit fdbdaf1

19 files changed

+165
-183
lines changed

refactor_development_regularization_cocktails/_sources/advanced_tabular/example_custom_configuration_space.rst.txt

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ the search. Currently, there are two changes that can be made to the space:-
4646

4747
.. code-block:: none
4848
49-
<smac.runhistory.runhistory.RunHistory object at 0x7f93a5e510a0> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
49+
<smac.runhistory.runhistory.RunHistory object at 0x7f23aef65a00> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
5050
data_loader:batch_size, Value: 32
5151
encoder:__choice__, Value: 'OneHotEncoder'
5252
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -87,7 +87,7 @@ the search. Currently, there are two changes that can be made to the space:-
8787
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
8888
trainer:StandardTrainer:weighted_loss, Value: True
8989
trainer:__choice__, Value: 'StandardTrainer'
90-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.001966238021850586, budget=0), TrajEntry(train_perf=0.16959064327485385, incumbent_id=1, incumbent=Configuration:
90+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.00153350830078125, budget=0), TrajEntry(train_perf=0.16959064327485385, incumbent_id=1, incumbent=Configuration:
9191
data_loader:batch_size, Value: 32
9292
encoder:__choice__, Value: 'OneHotEncoder'
9393
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -128,7 +128,7 @@ the search. Currently, there are two changes that can be made to the space:-
128128
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
129129
trainer:StandardTrainer:weighted_loss, Value: True
130130
trainer:__choice__, Value: 'StandardTrainer'
131-
, ta_runs=1, ta_time_used=11.944680213928223, wallclock_time=13.435033559799194, budget=5.555555555555555), TrajEntry(train_perf=0.1578947368421053, incumbent_id=2, incumbent=Configuration:
131+
, ta_runs=1, ta_time_used=15.69832968711853, wallclock_time=17.184927701950073, budget=5.555555555555555), TrajEntry(train_perf=0.1578947368421053, incumbent_id=2, incumbent=Configuration:
132132
data_loader:batch_size, Value: 109
133133
encoder:__choice__, Value: 'OneHotEncoder'
134134
feature_preprocessor:RandomKitchenSinks:gamma, Value: 0.08890013438983504
@@ -170,15 +170,16 @@ the search. Currently, there are two changes that can be made to the space:-
170170
trainer:RowCutMixTrainer:use_stochastic_weight_averaging, Value: False
171171
trainer:RowCutMixTrainer:weighted_loss, Value: True
172172
trainer:__choice__, Value: 'RowCutMixTrainer'
173-
, ta_runs=9, ta_time_used=132.09137415885925, wallclock_time=152.75405263900757, budget=5.555555555555555)]
174-
{'accuracy': 0.8670520231213873}
175-
| | Preprocessing | Estimator | Weight |
176-
|---:|:----------------------------------------------|:-------------------------------------------|---------:|
177-
| 0 | SimpleImputer,OneHotEncoder,NoScaler,Nystroem | embedding,MLPBackbone,NoHead,nn.Sequential | 0.5 |
178-
| 1 | SimpleImputer,OneHotEncoder,NoScaler,Nystroem | embedding,MLPBackbone,NoHead,nn.Sequential | 0.44 |
179-
| 2 | None | ExtraTreesClassifier | 0.04 |
180-
| 3 | None | LGBMClassifier | 0.02 |
181-
<smac.runhistory.runhistory.RunHistory object at 0x7f93a52f0df0> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
173+
, ta_runs=9, ta_time_used=170.7749261856079, wallclock_time=192.11866116523743, budget=5.555555555555555)]
174+
{'accuracy': 0.8786127167630058}
175+
| | Preprocessing | Estimator | Weight |
176+
|---:|:------------------------------------------------------------------|:----------------------------------------------------------|---------:|
177+
| 0 | SimpleImputer,OneHotEncoder,NoScaler,Nystroem | embedding,MLPBackbone,NoHead,nn.Sequential | 0.9 |
178+
| 1 | None | RFClassifier | 0.04 |
179+
| 2 | None | LGBMClassifier | 0.02 |
180+
| 3 | None | SVC | 0.02 |
181+
| 4 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,MLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
182+
<smac.runhistory.runhistory.RunHistory object at 0x7f23adec0af0> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
182183
data_loader:batch_size, Value: 32
183184
encoder:__choice__, Value: 'NoEncoder'
184185
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -217,7 +218,7 @@ the search. Currently, there are two changes that can be made to the space:-
217218
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
218219
trainer:StandardTrainer:weighted_loss, Value: True
219220
trainer:__choice__, Value: 'StandardTrainer'
220-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0016541481018066406, budget=0), TrajEntry(train_perf=0.1871345029239766, incumbent_id=1, incumbent=Configuration:
221+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0011212825775146484, budget=0), TrajEntry(train_perf=0.19298245614035092, incumbent_id=1, incumbent=Configuration:
221222
data_loader:batch_size, Value: 32
222223
encoder:__choice__, Value: 'NoEncoder'
223224
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -256,16 +257,15 @@ the search. Currently, there are two changes that can be made to the space:-
256257
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
257258
trainer:StandardTrainer:weighted_loss, Value: True
258259
trainer:__choice__, Value: 'StandardTrainer'
259-
, ta_runs=1, ta_time_used=8.343164443969727, wallclock_time=9.81375765800476, budget=5.555555555555555)]
260-
{'accuracy': 0.8670520231213873}
261-
| | Preprocessing | Estimator | Weight |
262-
|---:|:--------------------------------------------------------------|:----------------------------------------------------------------|---------:|
263-
| 0 | None | RFClassifier | 0.36 |
264-
| 1 | None | LGBMClassifier | 0.28 |
265-
| 2 | None | ExtraTreesClassifier | 0.18 |
266-
| 3 | None | KNNClassifier | 0.1 |
267-
| 4 | None | CatBoostClassifier | 0.06 |
268-
| 5 | SimpleImputer,NoEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
260+
, ta_runs=1, ta_time_used=10.127033948898315, wallclock_time=11.634387731552124, budget=5.555555555555555)]
261+
{'accuracy': 0.8728323699421965}
262+
| | Preprocessing | Estimator | Weight |
263+
|---:|:----------------|:---------------------|---------:|
264+
| 0 | None | ExtraTreesClassifier | 0.38 |
265+
| 1 | None | LGBMClassifier | 0.2 |
266+
| 2 | None | RFClassifier | 0.2 |
267+
| 3 | None | KNNClassifier | 0.14 |
268+
| 4 | None | CatBoostClassifier | 0.08 |
269269
270270
271271
@@ -394,7 +394,7 @@ the search. Currently, there are two changes that can be made to the space:-
394394
395395
.. rst-class:: sphx-glr-timing
396396

397-
**Total running time of the script:** ( 11 minutes 36.099 seconds)
397+
**Total running time of the script:** ( 11 minutes 40.629 seconds)
398398

399399

400400
.. _sphx_glr_download_advanced_tabular_example_custom_configuration_space.py:

refactor_development_regularization_cocktails/_sources/advanced_tabular/example_resampling_strategy.rst.txt

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ a 67% train size split.
3838

3939
.. code-block:: none
4040
41-
<smac.runhistory.runhistory.RunHistory object at 0x7f93a5e55c40> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
41+
<smac.runhistory.runhistory.RunHistory object at 0x7f23ad174160> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
4242
data_loader:batch_size, Value: 64
4343
encoder:__choice__, Value: 'OneHotEncoder'
4444
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -77,7 +77,7 @@ a 67% train size split.
7777
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
7878
trainer:StandardTrainer:weighted_loss, Value: True
7979
trainer:__choice__, Value: 'StandardTrainer'
80-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.002051115036010742, budget=0), TrajEntry(train_perf=0.19298245614035092, incumbent_id=1, incumbent=Configuration:
80+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0018305778503417969, budget=0), TrajEntry(train_perf=0.19298245614035092, incumbent_id=1, incumbent=Configuration:
8181
data_loader:batch_size, Value: 64
8282
encoder:__choice__, Value: 'OneHotEncoder'
8383
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -116,18 +116,19 @@ a 67% train size split.
116116
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
117117
trainer:StandardTrainer:weighted_loss, Value: True
118118
trainer:__choice__, Value: 'StandardTrainer'
119-
, ta_runs=1, ta_time_used=12.115590572357178, wallclock_time=13.64609694480896, budget=5.555555555555555)]
120-
{'accuracy': 0.8728323699421965}
119+
, ta_runs=1, ta_time_used=15.317967414855957, wallclock_time=16.835456609725952, budget=5.555555555555555)]
120+
{'accuracy': 0.8670520231213873}
121121
| | Preprocessing | Estimator | Weight |
122122
|---:|:------------------------------------------------------------------|:----------------------------------------------------------------|---------:|
123-
| 0 | None | RFClassifier | 0.28 |
124-
| 1 | None | ExtraTreesClassifier | 0.2 |
125-
| 2 | None | CatBoostClassifier | 0.18 |
123+
| 0 | None | CatBoostClassifier | 0.22 |
124+
| 1 | None | RFClassifier | 0.22 |
125+
| 2 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.18 |
126126
| 3 | None | LGBMClassifier | 0.16 |
127-
| 4 | None | KNNClassifier | 0.12 |
128-
| 5 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
129-
| 6 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,NoHead,nn.Sequential | 0.02 |
130-
<smac.runhistory.runhistory.RunHistory object at 0x7f93a5d58070> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
127+
| 4 | None | ExtraTreesClassifier | 0.12 |
128+
| 5 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,NoHead,nn.Sequential | 0.04 |
129+
| 6 | None | SVC | 0.04 |
130+
| 7 | None | KNNClassifier | 0.02 |
131+
<smac.runhistory.runhistory.RunHistory object at 0x7f23ac354130> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
131132
data_loader:batch_size, Value: 64
132133
encoder:__choice__, Value: 'OneHotEncoder'
133134
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -166,7 +167,7 @@ a 67% train size split.
166167
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
167168
trainer:StandardTrainer:weighted_loss, Value: True
168169
trainer:__choice__, Value: 'StandardTrainer'
169-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0020253658294677734, budget=0), TrajEntry(train_perf=0.13918253373732403, incumbent_id=1, incumbent=Configuration:
170+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.001428365707397461, budget=0), TrajEntry(train_perf=1.0, incumbent_id=1, incumbent=Configuration:
170171
data_loader:batch_size, Value: 64
171172
encoder:__choice__, Value: 'OneHotEncoder'
172173
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -205,18 +206,17 @@ a 67% train size split.
205206
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
206207
trainer:StandardTrainer:weighted_loss, Value: True
207208
trainer:__choice__, Value: 'StandardTrainer'
208-
, ta_runs=1, ta_time_used=31.310828924179077, wallclock_time=32.82950496673584, budget=5.555555555555555)]
209+
, ta_runs=1, ta_time_used=32.74102234840393, wallclock_time=34.25397086143494, budget=5.555555555555555)]
209210
{'accuracy': 0.8728323699421965}
210-
| | Preprocessing | Estimator | Weight |
211-
|---:|:------------------------------------------------------------------|:----------------------------------------------------------------|---------:|
212-
| 0 | None | TabularClassifier | 0.28 |
213-
| 1 | None | TabularClassifier | 0.18 |
214-
| 2 | None | TabularClassifier | 0.16 |
215-
| 3 | None | TabularClassifier | 0.12 |
216-
| 4 | None | TabularClassifier | 0.12 |
217-
| 5 | None | TabularClassifier | 0.08 |
218-
| 6 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
219-
<smac.runhistory.runhistory.RunHistory object at 0x7f93a46b2700> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
211+
| | Preprocessing | Estimator | Weight |
212+
|---:|:----------------|:------------------|---------:|
213+
| 0 | None | TabularClassifier | 0.24 |
214+
| 1 | None | TabularClassifier | 0.24 |
215+
| 2 | None | TabularClassifier | 0.18 |
216+
| 3 | None | TabularClassifier | 0.16 |
217+
| 4 | None | TabularClassifier | 0.12 |
218+
| 5 | None | TabularClassifier | 0.06 |
219+
<smac.runhistory.runhistory.RunHistory object at 0x7f23ad1d7370> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
220220
data_loader:batch_size, Value: 64
221221
encoder:__choice__, Value: 'OneHotEncoder'
222222
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -255,7 +255,7 @@ a 67% train size split.
255255
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
256256
trainer:StandardTrainer:weighted_loss, Value: True
257257
trainer:__choice__, Value: 'StandardTrainer'
258-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0019996166229248047, budget=0), TrajEntry(train_perf=0.16959064327485385, incumbent_id=1, incumbent=Configuration:
258+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0017085075378417969, budget=0), TrajEntry(train_perf=0.16959064327485385, incumbent_id=1, incumbent=Configuration:
259259
data_loader:batch_size, Value: 64
260260
encoder:__choice__, Value: 'OneHotEncoder'
261261
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -294,15 +294,15 @@ a 67% train size split.
294294
trainer:StandardTrainer:use_stochastic_weight_averaging, Value: True
295295
trainer:StandardTrainer:weighted_loss, Value: True
296296
trainer:__choice__, Value: 'StandardTrainer'
297-
, ta_runs=1, ta_time_used=12.241821527481079, wallclock_time=13.771500825881958, budget=5.555555555555555)]
297+
, ta_runs=1, ta_time_used=15.288289785385132, wallclock_time=16.83263635635376, budget=5.555555555555555)]
298298
{'accuracy': 0.884393063583815}
299299
| | Preprocessing | Estimator | Weight |
300300
|---:|:---------------------------------------------------|:-------------------------------------------------------|---------:|
301-
| 0 | None | CatBoostClassifier | 0.66 |
301+
| 0 | None | CatBoostClassifier | 0.64 |
302302
| 1 | None | ExtraTreesClassifier | 0.14 |
303-
| 2 | None | LGBMClassifier | 0.08 |
304-
| 3 | None | RFClassifier | 0.08 |
305-
| 4 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,NoHead,nn.Sequential | 0.02 |
303+
| 2 | None | RFClassifier | 0.1 |
304+
| 3 | None | LGBMClassifier | 0.06 |
305+
| 4 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,NoHead,nn.Sequential | 0.04 |
306306
| 5 | None | SVC | 0.02 |
307307
308308
@@ -467,7 +467,7 @@ a 67% train size split.
467467
468468
.. rst-class:: sphx-glr-timing
469469

470-
**Total running time of the script:** ( 10 minutes 2.984 seconds)
470+
**Total running time of the script:** ( 10 minutes 14.183 seconds)
471471

472472

473473
.. _sphx_glr_download_advanced_tabular_example_resampling_strategy.py:

0 commit comments

Comments
 (0)