Skip to content

Commit 9e848ac

Browse files
author
Github Actions
committed
Ravin Kohli: change config_id to config_id+1 (#129)
1 parent 900e0fa commit 9e848ac

11 files changed

+95
-161
lines changed

refactor_development/_sources/examples/example_image_classification.rst.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -81,26 +81,26 @@ Image Classification
8181
Pipeline Random Config:
8282
________________________________________
8383
Configuration:
84-
image_augmenter:GaussianBlur:sigma_min, Value: 2.171718885748658
85-
image_augmenter:GaussianBlur:sigma_offset, Value: 0.23112994670692544
86-
image_augmenter:GaussianBlur:use_augmenter, Value: True
87-
image_augmenter:GaussianNoise:use_augmenter, Value: False
88-
image_augmenter:RandomAffine:rotate, Value: 8
89-
image_augmenter:RandomAffine:scale_offset, Value: 0.04636110307060335
90-
image_augmenter:RandomAffine:shear, Value: 15
91-
image_augmenter:RandomAffine:translate_percent_offset, Value: 0.2439160322493358
84+
image_augmenter:GaussianBlur:use_augmenter, Value: False
85+
image_augmenter:GaussianNoise:sigma_offset, Value: 1.98731511231425
86+
image_augmenter:GaussianNoise:use_augmenter, Value: True
87+
image_augmenter:RandomAffine:rotate, Value: 50
88+
image_augmenter:RandomAffine:scale_offset, Value: 0.014555060261484254
89+
image_augmenter:RandomAffine:shear, Value: 37
90+
image_augmenter:RandomAffine:translate_percent_offset, Value: 0.25465139302111295
9291
image_augmenter:RandomAffine:use_augmenter, Value: True
93-
image_augmenter:RandomCutout:use_augmenter, Value: False
94-
image_augmenter:Resize:use_augmenter, Value: True
95-
image_augmenter:ZeroPadAndCrop:percent, Value: 0.43248776062268
96-
normalizer:__choice__, Value: 'NoNormalizer'
92+
image_augmenter:RandomCutout:p, Value: 0.4035801393808609
93+
image_augmenter:RandomCutout:use_augmenter, Value: True
94+
image_augmenter:Resize:use_augmenter, Value: False
95+
image_augmenter:ZeroPadAndCrop:percent, Value: 0.23991178688053533
96+
normalizer:__choice__, Value: 'ImageNormalizer'
9797

9898
Fitting the pipeline...
9999
________________________________________
100100
ImageClassificationPipeline
101101
________________________________________
102102
0-) normalizer:
103-
NoNormalizer
103+
ImageNormalizer
104104

105105
1-) preprocessing:
106106
EarlyPreprocessing
@@ -172,7 +172,7 @@ Image Classification
172172
173173
.. rst-class:: sphx-glr-timing
174174

175-
**Total running time of the script:** ( 0 minutes 14.058 seconds)
175+
**Total running time of the script:** ( 0 minutes 11.818 seconds)
176176

177177

178178
.. _sphx_glr_download_examples_example_image_classification.py:

refactor_development/_sources/examples/example_tabular_classification.rst.txt

Lines changed: 24 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ with AutoPyTorch
3636

3737
.. code-block:: none
3838
39-
<smac.runhistory.runhistory.RunHistory object at 0x7f1e0826a220> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
39+
<smac.runhistory.runhistory.RunHistory object at 0x7f42044b7c10> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
4040
data_loader:batch_size, Value: 32
4141
encoder:__choice__, Value: 'OneHotEncoder'
4242
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -77,7 +77,7 @@ with AutoPyTorch
7777
scaler:__choice__, Value: 'StandardScaler'
7878
trainer:StandardTrainer:weighted_loss, Value: True
7979
trainer:__choice__, Value: 'StandardTrainer'
80-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0022144317626953125, budget=0), TrajEntry(train_perf=0.15204678362573099, incumbent_id=1, incumbent=Configuration:
80+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0021822452545166016, budget=0), TrajEntry(train_perf=0.1871345029239766, incumbent_id=1, incumbent=Configuration:
8181
data_loader:batch_size, Value: 32
8282
encoder:__choice__, Value: 'OneHotEncoder'
8383
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -118,43 +118,7 @@ with AutoPyTorch
118118
scaler:__choice__, Value: 'StandardScaler'
119119
trainer:StandardTrainer:weighted_loss, Value: True
120120
trainer:__choice__, Value: 'StandardTrainer'
121-
, ta_runs=1, ta_time_used=5.521448612213135, wallclock_time=6.911151885986328, budget=5.555555555555555), TrajEntry(train_perf=0.17543859649122806, incumbent_id=2, incumbent=Configuration:
122-
data_loader:batch_size, Value: 294
123-
encoder:__choice__, Value: 'NoEncoder'
124-
feature_preprocessor:TruncatedSVD:target_dim, Value: 3
125-
feature_preprocessor:__choice__, Value: 'TruncatedSVD'
126-
imputer:categorical_strategy, Value: 'most_frequent'
127-
imputer:numerical_strategy, Value: 'median'
128-
lr_scheduler:CyclicLR:base_lr, Value: 0.002717430088118658
129-
lr_scheduler:CyclicLR:max_lr, Value: 0.07976595067755171
130-
lr_scheduler:CyclicLR:mode, Value: 'triangular'
131-
lr_scheduler:CyclicLR:step_size_up, Value: 1956
132-
lr_scheduler:__choice__, Value: 'CyclicLR'
133-
network_backbone:ShapedMLPBackbone:activation, Value: 'relu'
134-
network_backbone:ShapedMLPBackbone:max_units, Value: 73
135-
network_backbone:ShapedMLPBackbone:mlp_shape, Value: 'diamond'
136-
network_backbone:ShapedMLPBackbone:num_groups, Value: 10
137-
network_backbone:ShapedMLPBackbone:output_dim, Value: 43
138-
network_backbone:ShapedMLPBackbone:use_dropout, Value: False
139-
network_backbone:__choice__, Value: 'ShapedMLPBackbone'
140-
network_embedding:__choice__, Value: 'NoEmbedding'
141-
network_head:__choice__, Value: 'fully_connected'
142-
network_head:fully_connected:activation, Value: 'relu'
143-
network_head:fully_connected:num_layers, Value: 4
144-
network_head:fully_connected:units_layer_1, Value: 429
145-
network_head:fully_connected:units_layer_2, Value: 456
146-
network_head:fully_connected:units_layer_3, Value: 395
147-
network_init:KaimingInit:bias_strategy, Value: 'Zero'
148-
network_init:__choice__, Value: 'KaimingInit'
149-
optimizer:AdamWOptimizer:beta1, Value: 0.8939249786995366
150-
optimizer:AdamWOptimizer:beta2, Value: 0.9683138279885987
151-
optimizer:AdamWOptimizer:lr, Value: 0.03487526144039154
152-
optimizer:AdamWOptimizer:weight_decay, Value: 0.03698959567275315
153-
optimizer:__choice__, Value: 'AdamWOptimizer'
154-
scaler:__choice__, Value: 'MinMaxScaler'
155-
trainer:StandardTrainer:weighted_loss, Value: False
156-
trainer:__choice__, Value: 'StandardTrainer'
157-
, ta_runs=19, ta_time_used=285.0864462852478, wallclock_time=344.9483382701874, budget=50.0), TrajEntry(train_perf=0.1578947368421053, incumbent_id=3, incumbent=Configuration:
121+
, ta_runs=1, ta_time_used=4.781935930252075, wallclock_time=6.252290487289429, budget=5.555555555555555), TrajEntry(train_perf=0.14619883040935677, incumbent_id=2, incumbent=Configuration:
158122
data_loader:batch_size, Value: 295
159123
encoder:__choice__, Value: 'OneHotEncoder'
160124
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -187,24 +151,27 @@ with AutoPyTorch
187151
scaler:__choice__, Value: 'Normalizer'
188152
trainer:StandardTrainer:weighted_loss, Value: False
189153
trainer:__choice__, Value: 'StandardTrainer'
190-
, ta_runs=20, ta_time_used=292.15107345581055, wallclock_time=355.5941684246063, budget=50.0)]
154+
, ta_runs=20, ta_time_used=229.40343284606934, wallclock_time=290.8017210960388, budget=50.0)]
191155
{'accuracy': 0.8670520231213873}
192-
| | Preprocessing | Estimator | Weight |
193-
|---:|:------------------------------------------------------------------|:-------------------------------------------------------------------|---------:|
194-
| 0 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.2 |
195-
| 1 | SimpleImputer,OneHotEncoder,Normalizer,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.14 |
196-
| 2 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.12 |
197-
| 3 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
198-
| 4 | None | RFClassifier | 0.08 |
199-
| 5 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
200-
| 6 | None | KNNClassifier | 0.06 |
201-
| 7 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
202-
| 8 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
203-
| 9 | SimpleImputer,NoEncoder,NoScaler,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
204-
| 10 | None | ExtraTreesClassifier | 0.04 |
205-
| 11 | None | LGBMClassifier | 0.02 |
206-
| 12 | None | SVC | 0.02 |
207-
| 13 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
156+
| | Preprocessing | Estimator | Weight |
157+
|---:|:------------------------------------------------------------------|:----------------------------------------------------------------|---------:|
158+
| 0 | SimpleImputer,OneHotEncoder,Normalizer,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.14 |
159+
| 1 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.1 |
160+
| 2 | None | SVC | 0.1 |
161+
| 3 | None | ExtraTreesClassifier | 0.08 |
162+
| 4 | None | KNNClassifier | 0.08 |
163+
| 5 | None | RFClassifier | 0.08 |
164+
| 6 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
165+
| 7 | SimpleImputer,OneHotEncoder,Normalizer,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
166+
| 8 | SimpleImputer,OneHotEncoder,MinMaxScaler,PolynomialFeatures | embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
167+
| 9 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
168+
| 10 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
169+
| 11 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
170+
| 12 | None | LGBMClassifier | 0.04 |
171+
| 13 | SimpleImputer,OneHotEncoder,NoScaler,NoFeaturePreprocessing | embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
172+
| 14 | SimpleImputer,NoEncoder,MinMaxScaler,TruncSVD | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
173+
| 15 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
174+
| 16 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
208175
209176
210177
@@ -296,7 +263,7 @@ with AutoPyTorch
296263
297264
.. rst-class:: sphx-glr-timing
298265

299-
**Total running time of the script:** ( 9 minutes 15.541 seconds)
266+
**Total running time of the script:** ( 9 minutes 17.694 seconds)
300267

301268

302269
.. _sphx_glr_download_examples_example_tabular_classification.py:

refactor_development/_sources/examples/example_tabular_regression.rst.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ with AutoPyTorch
3636

3737
.. code-block:: none
3838
39-
<smac.runhistory.runhistory.RunHistory object at 0x7f1e00a06e50> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
39+
<smac.runhistory.runhistory.RunHistory object at 0x7f41fc4762e0> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
4040
data_loader:batch_size, Value: 32
4141
encoder:__choice__, Value: 'NoEncoder'
4242
imputer:numerical_strategy, Value: 'mean'
@@ -65,7 +65,7 @@ with AutoPyTorch
6565
optimizer:__choice__, Value: 'AdamOptimizer'
6666
scaler:__choice__, Value: 'StandardScaler'
6767
trainer:__choice__, Value: 'StandardTrainer'
68-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0017309188842773438, budget=0), TrajEntry(train_perf=0.0003191593212231725, incumbent_id=1, incumbent=Configuration:
68+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0018343925476074219, budget=0), TrajEntry(train_perf=0.0006981695502918939, incumbent_id=1, incumbent=Configuration:
6969
data_loader:batch_size, Value: 32
7070
encoder:__choice__, Value: 'NoEncoder'
7171
imputer:numerical_strategy, Value: 'mean'
@@ -94,8 +94,8 @@ with AutoPyTorch
9494
optimizer:__choice__, Value: 'AdamOptimizer'
9595
scaler:__choice__, Value: 'StandardScaler'
9696
trainer:__choice__, Value: 'StandardTrainer'
97-
, ta_runs=1, ta_time_used=8.489260911941528, wallclock_time=12.06636643409729, budget=5.555555555555555)]
98-
{'r2': 0.9996971295334267}
97+
, ta_runs=1, ta_time_used=7.188728332519531, wallclock_time=10.688534498214722, budget=5.555555555555555)]
98+
{'r2': 0.9998706896933107}
9999
100100
101101
@@ -218,7 +218,7 @@ with AutoPyTorch
218218
219219
.. rst-class:: sphx-glr-timing
220220

221-
**Total running time of the script:** ( 8 minutes 33.372 seconds)
221+
**Total running time of the script:** ( 8 minutes 33.280 seconds)
222222

223223

224224
.. _sphx_glr_download_examples_example_tabular_regression.py:

refactor_development/_sources/examples/sg_execution_times.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55

66
Computation times
77
=================
8-
**18:02.970** total execution time for **examples** files:
8+
**18:02.792** total execution time for **examples** files:
99

1010
+----------------------------------------------------------------------------------------------------+-----------+--------+
11-
| :ref:`sphx_glr_examples_example_tabular_classification.py` (``example_tabular_classification.py``) | 09:15.541 | 0.0 MB |
11+
| :ref:`sphx_glr_examples_example_tabular_classification.py` (``example_tabular_classification.py``) | 09:17.694 | 0.0 MB |
1212
+----------------------------------------------------------------------------------------------------+-----------+--------+
13-
| :ref:`sphx_glr_examples_example_tabular_regression.py` (``example_tabular_regression.py``) | 08:33.372 | 0.0 MB |
13+
| :ref:`sphx_glr_examples_example_tabular_regression.py` (``example_tabular_regression.py``) | 08:33.280 | 0.0 MB |
1414
+----------------------------------------------------------------------------------------------------+-----------+--------+
15-
| :ref:`sphx_glr_examples_example_image_classification.py` (``example_image_classification.py``) | 00:14.058 | 0.0 MB |
15+
| :ref:`sphx_glr_examples_example_image_classification.py` (``example_image_classification.py``) | 00:11.818 | 0.0 MB |
1616
+----------------------------------------------------------------------------------------------------+-----------+--------+

refactor_development/examples/example_image_classification.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30325,26 +30325,26 @@
3032530325
Pipeline Random Config:
3032630326
________________________________________
3032730327
Configuration:
30328-
image_augmenter:GaussianBlur:sigma_min, Value: 2.171718885748658
30329-
image_augmenter:GaussianBlur:sigma_offset, Value: 0.23112994670692544
30330-
image_augmenter:GaussianBlur:use_augmenter, Value: True
30331-
image_augmenter:GaussianNoise:use_augmenter, Value: False
30332-
image_augmenter:RandomAffine:rotate, Value: 8
30333-
image_augmenter:RandomAffine:scale_offset, Value: 0.04636110307060335
30334-
image_augmenter:RandomAffine:shear, Value: 15
30335-
image_augmenter:RandomAffine:translate_percent_offset, Value: 0.2439160322493358
30328+
image_augmenter:GaussianBlur:use_augmenter, Value: False
30329+
image_augmenter:GaussianNoise:sigma_offset, Value: 1.98731511231425
30330+
image_augmenter:GaussianNoise:use_augmenter, Value: True
30331+
image_augmenter:RandomAffine:rotate, Value: 50
30332+
image_augmenter:RandomAffine:scale_offset, Value: 0.014555060261484254
30333+
image_augmenter:RandomAffine:shear, Value: 37
30334+
image_augmenter:RandomAffine:translate_percent_offset, Value: 0.25465139302111295
3033630335
image_augmenter:RandomAffine:use_augmenter, Value: True
30337-
image_augmenter:RandomCutout:use_augmenter, Value: False
30338-
image_augmenter:Resize:use_augmenter, Value: True
30339-
image_augmenter:ZeroPadAndCrop:percent, Value: 0.43248776062268
30340-
normalizer:__choice__, Value: &#39;NoNormalizer&#39;
30336+
image_augmenter:RandomCutout:p, Value: 0.4035801393808609
30337+
image_augmenter:RandomCutout:use_augmenter, Value: True
30338+
image_augmenter:Resize:use_augmenter, Value: False
30339+
image_augmenter:ZeroPadAndCrop:percent, Value: 0.23991178688053533
30340+
normalizer:__choice__, Value: &#39;ImageNormalizer&#39;
3034130341

3034230342
Fitting the pipeline...
3034330343
________________________________________
3034430344
ImageClassificationPipeline
3034530345
________________________________________
3034630346
0-) normalizer:
30347-
NoNormalizer
30347+
ImageNormalizer
3034830348

3034930349
1-) preprocessing:
3035030350
EarlyPreprocessing
@@ -30409,7 +30409,7 @@
3040930409
<span class="nb">print</span><span class="p">(</span><span class="n">pipeline</span><span class="p">)</span>
3041030410
</pre></div>
3041130411
</div>
30412-
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 14.058 seconds)</p>
30412+
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 11.818 seconds)</p>
3041330413
<div class="sphx-glr-footer class sphx-glr-footer-example docutils container" id="sphx-glr-download-examples-example-image-classification-py">
3041430414
<div class="binder-badge docutils container">
3041530415
<a class="reference external image-reference" href="https://mybinder.org/v2/gh/automl/Auto-PyTorch/refactor_development?urlpath=lab/tree/notebooks/examples/example_image_classification.ipynb"><img alt="Launch binder" src="../_images/binder_badge_logo.svg" width="150px" /></a>

0 commit comments

Comments
 (0)