Skip to content

Commit b761b73

Browse files
author
Github Actions
committed
nabenabe0928: [doc] Add the workflow of the Auto-Pytorch (#285)
1 parent d0e99df commit b761b73

25 files changed

+259
-253
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
-412 Bytes
Loading
1.07 KB
Loading

development/_sources/examples/20_basics/example_image_classification.rst.txt

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,25 +85,23 @@ Image Classification
8585
Pipeline Random Config:
8686
________________________________________
8787
Configuration:
88-
image_augmenter:GaussianBlur:use_augmenter, Value: False
89-
image_augmenter:GaussianNoise:use_augmenter, Value: False
90-
image_augmenter:RandomAffine:rotate, Value: 217
91-
image_augmenter:RandomAffine:scale_offset, Value: 0.1179816731477697
92-
image_augmenter:RandomAffine:shear, Value: 4
93-
image_augmenter:RandomAffine:translate_percent_offset, Value: 0.36434471663235696
94-
image_augmenter:RandomAffine:use_augmenter, Value: True
95-
image_augmenter:RandomCutout:p, Value: 0.7356259878600178
96-
image_augmenter:RandomCutout:use_augmenter, Value: True
88+
image_augmenter:GaussianBlur:sigma_min, Value: 1.4046883169529134
89+
image_augmenter:GaussianBlur:sigma_offset, Value: 0.2827315442973467
90+
image_augmenter:GaussianBlur:use_augmenter, Value: True
91+
image_augmenter:GaussianNoise:sigma_offset, Value: 2.560369532733963
92+
image_augmenter:GaussianNoise:use_augmenter, Value: True
93+
image_augmenter:RandomAffine:use_augmenter, Value: False
94+
image_augmenter:RandomCutout:use_augmenter, Value: False
9795
image_augmenter:Resize:use_augmenter, Value: True
98-
image_augmenter:ZeroPadAndCrop:percent, Value: 0.07020163504895205
99-
normalizer:__choice__, Value: 'ImageNormalizer'
96+
image_augmenter:ZeroPadAndCrop:percent, Value: 0.06242203913307903
97+
normalizer:__choice__, Value: 'NoNormalizer'
10098

10199
Fitting the pipeline...
102100
________________________________________
103101
ImageClassificationPipeline
104102
________________________________________
105103
0-) normalizer:
106-
ImageNormalizer
104+
NoNormalizer
107105

108106
1-) preprocessing:
109107
EarlyPreprocessing
@@ -175,7 +173,7 @@ Image Classification
175173
176174
.. rst-class:: sphx-glr-timing
177175

178-
**Total running time of the script:** ( 0 minutes 8.752 seconds)
176+
**Total running time of the script:** ( 0 minutes 8.240 seconds)
179177

180178

181179
.. _sphx_glr_download_examples_20_basics_example_image_classification.py:

development/_sources/examples/20_basics/example_tabular_classification.rst.txt

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Search for an ensemble of machine learning algorithms
134134
.. code-block:: none
135135
136136
137-
<autoPyTorch.api.tabular_classification.TabularClassificationTask object at 0x7fdb1008e310>
137+
<autoPyTorch.api.tabular_classification.TabularClassificationTask object at 0x7f5b88889250>
138138
139139
140140
@@ -165,20 +165,23 @@ Print the final ensemble performance
165165

166166
.. code-block:: none
167167
168-
{'accuracy': 0.838150289017341}
168+
{'accuracy': 0.8554913294797688}
169169
| | Preprocessing | Estimator | Weight |
170170
|---:|:------------------------------------------------------------------|:----------------------------------------------------------------|---------:|
171-
| 0 | SimpleImputer,OneHotEncoder,Normalizer,KernelPCA | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.2 |
171+
| 0 | SimpleImputer,OneHotEncoder,Normalizer,KernelPCA | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.18 |
172172
| 1 | None | KNNLearner | 0.16 |
173-
| 2 | None | CBLearner | 0.14 |
174-
| 3 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.12 |
175-
| 4 | SimpleImputer,OneHotEncoder,Normalizer,PowerTransformer | embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
176-
| 5 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
177-
| 6 | SimpleImputer,OneHotEncoder,MinMaxScaler,PowerTransformer | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
178-
| 7 | SimpleImputer,NoEncoder,Normalizer,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
179-
| 8 | None | SVMLearner | 0.04 |
180-
| 9 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
181-
| 10 | SimpleImputer,OneHotEncoder,MinMaxScaler,TruncSVD | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
173+
| 2 | None | SVMLearner | 0.12 |
174+
| 3 | None | CBLearner | 0.1 |
175+
| 4 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
176+
| 5 | SimpleImputer,OneHotEncoder,Normalizer,PowerTransformer | embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
177+
| 6 | None | RFLearner | 0.06 |
178+
| 7 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
179+
| 8 | SimpleImputer,OneHotEncoder,MinMaxScaler,PowerTransformer | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
180+
| 9 | SimpleImputer,NoEncoder,Normalizer,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
181+
| 10 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
182+
| 11 | SimpleImputer,OneHotEncoder,Normalizer,TruncSVD | embedding,MLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
183+
| 12 | SimpleImputer,OneHotEncoder,MinMaxScaler,TruncSVD | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
184+
| 13 | None | ETLearner | 0.02 |
182185
autoPyTorch results:
183186
Dataset name: Australian
184187
Optimisation Metric: accuracy
@@ -196,7 +199,7 @@ Print the final ensemble performance
196199
197200
.. rst-class:: sphx-glr-timing
198201

199-
**Total running time of the script:** ( 5 minutes 35.978 seconds)
202+
**Total running time of the script:** ( 5 minutes 37.526 seconds)
200203

201204

202205
.. _sphx_glr_download_examples_20_basics_example_tabular_classification.py:

development/_sources/examples/20_basics/example_tabular_regression.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Search for an ensemble of machine learning algorithms
125125
.. code-block:: none
126126
127127
128-
<autoPyTorch.api.tabular_regression.TabularRegressionTask object at 0x7fdbb2e14ca0>
128+
<autoPyTorch.api.tabular_regression.TabularRegressionTask object at 0x7f5c2b1dbca0>
129129
130130
131131
@@ -167,7 +167,7 @@ Print the final ensemble performance
167167
| 2 | None | LGBMLearner | 0.08 |
168168
| 3 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
169169
autoPyTorch results:
170-
Dataset name: 90fc86f3-4b99-11ec-8767-3dd3e59f8cae
170+
Dataset name: 1126c30d-4b9d-11ec-8734-1bc53ddd4b3d
171171
Optimisation Metric: r2
172172
Best validation score: 0.8644967965917701
173173
Number of target algorithm runs: 23
@@ -183,7 +183,7 @@ Print the final ensemble performance
183183
184184
.. rst-class:: sphx-glr-timing
185185

186-
**Total running time of the script:** ( 5 minutes 36.832 seconds)
186+
**Total running time of the script:** ( 5 minutes 36.092 seconds)
187187

188188

189189
.. _sphx_glr_download_examples_20_basics_example_tabular_regression.py:

development/_sources/examples/20_basics/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-
**11:21.562** total execution time for **examples_20_basics** files:
8+
**11:21.858** total execution time for **examples_20_basics** files:
99

1010
+--------------------------------------------------------------------------------------------------------------+-----------+--------+
11-
| :ref:`sphx_glr_examples_20_basics_example_tabular_regression.py` (``example_tabular_regression.py``) | 05:36.832 | 0.0 MB |
11+
| :ref:`sphx_glr_examples_20_basics_example_tabular_classification.py` (``example_tabular_classification.py``) | 05:37.526 | 0.0 MB |
1212
+--------------------------------------------------------------------------------------------------------------+-----------+--------+
13-
| :ref:`sphx_glr_examples_20_basics_example_tabular_classification.py` (``example_tabular_classification.py``) | 05:35.978 | 0.0 MB |
13+
| :ref:`sphx_glr_examples_20_basics_example_tabular_regression.py` (``example_tabular_regression.py``) | 05:36.092 | 0.0 MB |
1414
+--------------------------------------------------------------------------------------------------------------+-----------+--------+
15-
| :ref:`sphx_glr_examples_20_basics_example_image_classification.py` (``example_image_classification.py``) | 00:08.752 | 0.0 MB |
15+
| :ref:`sphx_glr_examples_20_basics_example_image_classification.py` (``example_image_classification.py``) | 00:08.240 | 0.0 MB |
1616
+--------------------------------------------------------------------------------------------------------------+-----------+--------+

development/_sources/examples/40_advanced/example_custom_configuration_space.rst.txt

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ the search. Currently, there are two changes that can be made to the space:-
5757
| 5 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,MLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
5858
| 6 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,MLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
5959
autoPyTorch results:
60-
Dataset name: e8fd2f8e-4b9d-11ec-8767-3dd3e59f8cae
60+
Dataset name: 82ccc0cf-4ba1-11ec-8734-1bc53ddd4b3d
6161
Optimisation Metric: accuracy
6262
Best validation score: 0.8596491228070176
6363
Number of target algorithm runs: 17
@@ -66,25 +66,23 @@ the search. Currently, there are two changes that can be made to the space:-
6666
Number of target algorithms that exceeded the time limit: 1
6767
Number of target algorithms that exceeded the memory limit: 0
6868
69-
{'accuracy': 0.861271676300578}
69+
{'accuracy': 0.8728323699421965}
7070
| | Preprocessing | Estimator | Weight |
7171
|---:|:--------------------------------------------------------------|:----------------------------------------------------------------|---------:|
72-
| 0 | SimpleImputer,NoEncoder,Normalizer,PowerTransformer | no embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.26 |
73-
| 1 | None | KNNLearner | 0.14 |
74-
| 2 | SimpleImputer,NoEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.12 |
75-
| 3 | None | RFLearner | 0.1 |
76-
| 4 | SimpleImputer,NoEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.1 |
77-
| 5 | None | ETLearner | 0.08 |
78-
| 6 | None | SVMLearner | 0.08 |
79-
| 7 | SimpleImputer,NoEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
80-
| 8 | None | LGBMLearner | 0.04 |
72+
| 0 | None | RFLearner | 0.34 |
73+
| 1 | None | ETLearner | 0.26 |
74+
| 2 | None | LGBMLearner | 0.2 |
75+
| 3 | None | KNNLearner | 0.08 |
76+
| 4 | SimpleImputer,NoEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
77+
| 5 | None | SVMLearner | 0.04 |
78+
| 6 | SimpleImputer,NoEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
8179
autoPyTorch results:
82-
Dataset name: 532e1290-4b9e-11ec-8767-3dd3e59f8cae
80+
Dataset name: ecc6b68d-4ba1-11ec-8734-1bc53ddd4b3d
8381
Optimisation Metric: accuracy
8482
Best validation score: 0.8596491228070176
8583
Number of target algorithm runs: 20
86-
Number of successful target algorithm runs: 14
87-
Number of crashed target algorithm runs: 5
84+
Number of successful target algorithm runs: 13
85+
Number of crashed target algorithm runs: 6
8886
Number of target algorithms that exceeded the time limit: 1
8987
Number of target algorithms that exceeded the memory limit: 0
9088
@@ -220,7 +218,7 @@ the search. Currently, there are two changes that can be made to the space:-
220218
221219
.. rst-class:: sphx-glr-timing
222220

223-
**Total running time of the script:** ( 5 minutes 57.544 seconds)
221+
**Total running time of the script:** ( 5 minutes 55.959 seconds)
224222

225223

226224
.. _sphx_glr_download_examples_40_advanced_example_custom_configuration_space.py:

0 commit comments

Comments
 (0)