Skip to content

Commit 03e19b9

Browse files
author
Github Actions
committed
Francisco Rivera Valverde: FIX_123 (#133)
1 parent e2f601b commit 03e19b9

12 files changed

+82
-68
lines changed

refactor_development/_sources/examples/example_image_classification.rst.txt

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,27 @@ Image Classification
8181
Pipeline Random Config:
8282
________________________________________
8383
Configuration:
84-
image_augmenter:GaussianBlur:use_augmenter, Value: False
85-
image_augmenter:GaussianNoise:use_augmenter, Value: False
86-
image_augmenter:RandomAffine:use_augmenter, Value: False
84+
image_augmenter:GaussianBlur:sigma_min, Value: 0.7923318281094287
85+
image_augmenter:GaussianBlur:sigma_offset, Value: 0.5630460313493758
86+
image_augmenter:GaussianBlur:use_augmenter, Value: True
87+
image_augmenter:GaussianNoise:sigma_offset, Value: 0.5913000614764757
88+
image_augmenter:GaussianNoise:use_augmenter, Value: True
89+
image_augmenter:RandomAffine:rotate, Value: 100
90+
image_augmenter:RandomAffine:scale_offset, Value: 0.21422298475725798
91+
image_augmenter:RandomAffine:shear, Value: 3
92+
image_augmenter:RandomAffine:translate_percent_offset, Value: 0.15943617036310528
93+
image_augmenter:RandomAffine:use_augmenter, Value: True
8794
image_augmenter:RandomCutout:use_augmenter, Value: False
8895
image_augmenter:Resize:use_augmenter, Value: True
89-
image_augmenter:ZeroPadAndCrop:percent, Value: 0.208578408262465
90-
normalizer:__choice__, Value: 'NoNormalizer'
96+
image_augmenter:ZeroPadAndCrop:percent, Value: 0.11241231994734702
97+
normalizer:__choice__, Value: 'ImageNormalizer'
9198

9299
Fitting the pipeline...
93100
________________________________________
94101
ImageClassificationPipeline
95102
________________________________________
96103
0-) normalizer:
97-
NoNormalizer
104+
ImageNormalizer
98105

99106
1-) preprocessing:
100107
EarlyPreprocessing
@@ -166,7 +173,7 @@ Image Classification
166173
167174
.. rst-class:: sphx-glr-timing
168175

169-
**Total running time of the script:** ( 0 minutes 9.911 seconds)
176+
**Total running time of the script:** ( 0 minutes 9.403 seconds)
170177

171178

172179
.. _sphx_glr_download_examples_example_image_classification.py:

refactor_development/_sources/examples/example_tabular_classification.rst.txt

Lines changed: 17 additions & 17 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 0x7f983433d160> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
39+
<smac.runhistory.runhistory.RunHistory object at 0x7fe9245bcd60> [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.00208282470703125, budget=0), TrajEntry(train_perf=0.16959064327485385, incumbent_id=1, incumbent=Configuration:
80+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0018763542175292969, budget=0), TrajEntry(train_perf=0.15204678362573099, incumbent_id=1, incumbent=Configuration:
8181
data_loader:batch_size, Value: 32
8282
encoder:__choice__, Value: 'OneHotEncoder'
8383
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -118,7 +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=4.665428161621094, wallclock_time=6.140820026397705, budget=5.555555555555555), TrajEntry(train_perf=0.14619883040935677, incumbent_id=2, incumbent=Configuration:
121+
, ta_runs=1, ta_time_used=4.428625822067261, wallclock_time=5.859556198120117, budget=5.555555555555555), TrajEntry(train_perf=0.11695906432748537, incumbent_id=2, incumbent=Configuration:
122122
data_loader:batch_size, Value: 224
123123
encoder:__choice__, Value: 'OneHotEncoder'
124124
feature_preprocessor:KernelPCA:gamma, Value: 0.6217858094449208
@@ -151,19 +151,19 @@ with AutoPyTorch
151151
trainer:MixUpTrainer:alpha, Value: 0.7490557199071863
152152
trainer:MixUpTrainer:weighted_loss, Value: False
153153
trainer:__choice__, Value: 'MixUpTrainer'
154-
, ta_runs=12, ta_time_used=105.31449437141418, wallclock_time=135.89934992790222, budget=16.666666666666664)]
155-
{'accuracy': 0.884393063583815}
156-
| | Preprocessing | Estimator | Weight |
157-
|---:|:------------------------------------------------------------------|:-------------------------------------------------------------------|---------:|
158-
| 0 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.42 |
159-
| 1 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.14 |
160-
| 2 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.14 |
161-
| 3 | None | KNNClassifier | 0.1 |
162-
| 4 | None | RFClassifier | 0.08 |
163-
| 5 | SimpleImputer,OneHotEncoder,Normalizer,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
164-
| 6 | None | ExtraTreesClassifier | 0.04 |
165-
| 7 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
166-
| 8 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
154+
, ta_runs=4, ta_time_used=35.06738233566284, wallclock_time=42.592618465423584, budget=5.555555555555555)]
155+
{'accuracy': 0.8786127167630058}
156+
| | Preprocessing | Estimator | Weight |
157+
|---:|:-----------------------------------------------------|:-------------------------------------------------------------------|---------:|
158+
| 0 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.2 |
159+
| 1 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.2 |
160+
| 2 | SimpleImputer,NoEncoder,NoScaler,PolynomialFeatures | no embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.18 |
161+
| 3 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.16 |
162+
| 4 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.16 |
163+
| 5 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
164+
| 6 | SimpleImputer,NoEncoder,NoScaler,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
165+
| 7 | None | ExtraTreesClassifier | 0.02 |
166+
| 8 | None | KNNClassifier | 0.02 |
167167
168168
169169
@@ -255,7 +255,7 @@ with AutoPyTorch
255255
256256
.. rst-class:: sphx-glr-timing
257257

258-
**Total running time of the script:** ( 9 minutes 10.157 seconds)
258+
**Total running time of the script:** ( 9 minutes 5.493 seconds)
259259

260260

261261
.. _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 0x7f9827376ee0> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
39+
<smac.runhistory.runhistory.RunHistory object at 0x7fe9569b5430> [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.0018258094787597656, budget=0), TrajEntry(train_perf=0.022066190658357243, incumbent_id=1, incumbent=Configuration:
68+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0018329620361328125, budget=0), TrajEntry(train_perf=0.001492405628839566, 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=7.395039081573486, wallclock_time=10.92704463005066, budget=5.555555555555555)]
98-
{'r2': 0.9995185033602313}
97+
, ta_runs=1, ta_time_used=7.251036643981934, wallclock_time=10.61331295967102, budget=5.555555555555555)]
98+
{'r2': 0.999784077535095}
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 34.410 seconds)
221+
**Total running time of the script:** ( 8 minutes 31.487 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-
**17:54.478** total execution time for **examples** files:
8+
**17:46.383** total execution time for **examples** files:
99

1010
+----------------------------------------------------------------------------------------------------+-----------+--------+
11-
| :ref:`sphx_glr_examples_example_tabular_classification.py` (``example_tabular_classification.py``) | 09:10.157 | 0.0 MB |
11+
| :ref:`sphx_glr_examples_example_tabular_classification.py` (``example_tabular_classification.py``) | 09:05.493 | 0.0 MB |
1212
+----------------------------------------------------------------------------------------------------+-----------+--------+
13-
| :ref:`sphx_glr_examples_example_tabular_regression.py` (``example_tabular_regression.py``) | 08:34.410 | 0.0 MB |
13+
| :ref:`sphx_glr_examples_example_tabular_regression.py` (``example_tabular_regression.py``) | 08:31.487 | 0.0 MB |
1414
+----------------------------------------------------------------------------------------------------+-----------+--------+
15-
| :ref:`sphx_glr_examples_example_image_classification.py` (``example_image_classification.py``) | 00:09.911 | 0.0 MB |
15+
| :ref:`sphx_glr_examples_example_image_classification.py` (``example_image_classification.py``) | 00:09.403 | 0.0 MB |
1616
+----------------------------------------------------------------------------------------------------+-----------+--------+

refactor_development/api.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ <h3>Classification<a class="headerlink" href="#classification" title="Permalink
359359
<blockquote>
360360
<div><p><a href="#id1"><span class="problematic" id="id2">**</span></a>pipeline_config_kwargs: Valid config options include “num_run”,
361361
“device”, “budget_type”, “epochs”, “runtime”, “torch_num_threads”,
362-
“early_stopping”, “use_tensorboard_logger”, “use_pynisher”,
362+
“early_stopping”, “use_tensorboard_logger”,
363363
“metrics_during_training”</p>
364364
</div></blockquote>
365365
<dl class="simple">

refactor_development/examples/example_image_classification.html

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30325,20 +30325,27 @@
3032530325
Pipeline Random Config:
3032630326
________________________________________
3032730327
Configuration:
30328-
image_augmenter:GaussianBlur:use_augmenter, Value: False
30329-
image_augmenter:GaussianNoise:use_augmenter, Value: False
30330-
image_augmenter:RandomAffine:use_augmenter, Value: False
30328+
image_augmenter:GaussianBlur:sigma_min, Value: 0.7923318281094287
30329+
image_augmenter:GaussianBlur:sigma_offset, Value: 0.5630460313493758
30330+
image_augmenter:GaussianBlur:use_augmenter, Value: True
30331+
image_augmenter:GaussianNoise:sigma_offset, Value: 0.5913000614764757
30332+
image_augmenter:GaussianNoise:use_augmenter, Value: True
30333+
image_augmenter:RandomAffine:rotate, Value: 100
30334+
image_augmenter:RandomAffine:scale_offset, Value: 0.21422298475725798
30335+
image_augmenter:RandomAffine:shear, Value: 3
30336+
image_augmenter:RandomAffine:translate_percent_offset, Value: 0.15943617036310528
30337+
image_augmenter:RandomAffine:use_augmenter, Value: True
3033130338
image_augmenter:RandomCutout:use_augmenter, Value: False
3033230339
image_augmenter:Resize:use_augmenter, Value: True
30333-
image_augmenter:ZeroPadAndCrop:percent, Value: 0.208578408262465
30334-
normalizer:__choice__, Value: &#39;NoNormalizer&#39;
30340+
image_augmenter:ZeroPadAndCrop:percent, Value: 0.11241231994734702
30341+
normalizer:__choice__, Value: &#39;ImageNormalizer&#39;
3033530342

3033630343
Fitting the pipeline...
3033730344
________________________________________
3033830345
ImageClassificationPipeline
3033930346
________________________________________
3034030347
0-) normalizer:
30341-
NoNormalizer
30348+
ImageNormalizer
3034230349

3034330350
1-) preprocessing:
3034430351
EarlyPreprocessing
@@ -30403,7 +30410,7 @@
3040330410
<span class="nb">print</span><span class="p">(</span><span class="n">pipeline</span><span class="p">)</span>
3040430411
</pre></div>
3040530412
</div>
30406-
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 9.911 seconds)</p>
30413+
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 9.403 seconds)</p>
3040730414
<div class="sphx-glr-footer class sphx-glr-footer-example docutils container" id="sphx-glr-download-examples-example-image-classification-py">
3040830415
<div class="binder-badge docutils container">
3040930416
<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)