Skip to content

Commit b9cc98b

Browse files
author
Github Actions
committed
Ravin Kohli: [ADD] dataset compression (#387)
1 parent f69269c commit b9cc98b

34 files changed

+503
-336
lines changed
Binary file not shown.
Binary file not shown.
Loading
Loading
Loading
Loading

development/_modules/autoPyTorch/api/tabular_classification.html

Lines changed: 53 additions & 15 deletions
Large diffs are not rendered by default.

development/_modules/autoPyTorch/api/tabular_regression.html

Lines changed: 52 additions & 12 deletions
Large diffs are not rendered by default.

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,24 +85,24 @@ Image Classification
8585
Pipeline Random Config:
8686
________________________________________
8787
Configuration(values={
88-
'image_augmenter:GaussianBlur:sigma_min': 2.068090231601102,
89-
'image_augmenter:GaussianBlur:sigma_offset': 1.9329308760314452,
88+
'image_augmenter:GaussianBlur:sigma_min': 2.128854080819082,
89+
'image_augmenter:GaussianBlur:sigma_offset': 1.685286865327408,
9090
'image_augmenter:GaussianBlur:use_augmenter': True,
9191
'image_augmenter:GaussianNoise:use_augmenter': False,
9292
'image_augmenter:RandomAffine:use_augmenter': False,
93-
'image_augmenter:RandomCutout:p': 0.9739889046885781,
93+
'image_augmenter:RandomCutout:p': 0.8505129226214392,
9494
'image_augmenter:RandomCutout:use_augmenter': True,
9595
'image_augmenter:Resize:use_augmenter': False,
96-
'image_augmenter:ZeroPadAndCrop:percent': 0.27792641387037204,
97-
'normalizer:__choice__': 'ImageNormalizer',
96+
'image_augmenter:ZeroPadAndCrop:percent': 0.3503163793523587,
97+
'normalizer:__choice__': 'NoNormalizer',
9898
})
9999

100100
Fitting the pipeline...
101101
________________________________________
102102
ImageClassificationPipeline
103103
________________________________________
104104
0-) normalizer:
105-
ImageNormalizer
105+
NoNormalizer
106106

107107
1-) preprocessing:
108108
EarlyPreprocessing
@@ -174,7 +174,7 @@ Image Classification
174174
175175
.. rst-class:: sphx-glr-timing
176176

177-
**Total running time of the script:** ( 0 minutes 8.519 seconds)
177+
**Total running time of the script:** ( 0 minutes 6.887 seconds)
178178

179179

180180
.. _sphx_glr_download_examples_20_basics_example_image_classification.py:

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

Lines changed: 15 additions & 10 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 0x7f5b9b54f7f0>
137+
<autoPyTorch.api.tabular_classification.TabularClassificationTask object at 0x7f7e22bfd7f0>
138138
139139
140140
@@ -166,19 +166,24 @@ Print the final ensemble performance
166166
.. code-block:: none
167167
168168
{'accuracy': 0.861271676300578}
169-
| | Preprocessing | Estimator | Weight |
170-
|---:|:----------------------------------------------------------------------------------------|:-------------------------------------------------------------|---------:|
171-
| 0 | None | CBLearner | 0.86 |
172-
| 1 | SimpleImputer,Variance Threshold,NoCoalescer,OneHotEncoder,QuantileTransformer,TruncSVD | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
173-
| 2 | SimpleImputer,Variance Threshold,MinorityCoalescer,OneHotEncoder,Normalizer,Nystroem | no embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
169+
| | Preprocessing | Estimator | Weight |
170+
|---:|:-------------------------------------------------------------------------------------------------|:----------------------------------------------------------------|---------:|
171+
| 0 | None | CBLearner | 0.66 |
172+
| 1 | SimpleImputer,Variance Threshold,NoCoalescer,NoEncoder,StandardScaler,TruncSVD | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.16 |
173+
| 2 | SimpleImputer,Variance Threshold,MinorityCoalescer,OneHotEncoder,StandardScaler,KernelPCA | embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
174+
| 3 | SimpleImputer,Variance Threshold,MinorityCoalescer,OneHotEncoder,Normalizer,Nystroem | no embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
175+
| 4 | SimpleImputer,Variance Threshold,NoCoalescer,OneHotEncoder,Normalizer,TruncSVD | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
176+
| 5 | SimpleImputer,Variance Threshold,MinorityCoalescer,OneHotEncoder,StandardScaler,KernelPCA | embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
177+
| 6 | None | RFLearner | 0.02 |
178+
| 7 | SimpleImputer,Variance Threshold,NoCoalescer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
174179
autoPyTorch results:
175180
Dataset name: Australian
176181
Optimisation Metric: accuracy
177182
Best validation score: 0.8713450292397661
178-
Number of target algorithm runs: 22
179-
Number of successful target algorithm runs: 19
183+
Number of target algorithm runs: 23
184+
Number of successful target algorithm runs: 21
180185
Number of crashed target algorithm runs: 2
181-
Number of target algorithms that exceeded the time limit: 1
186+
Number of target algorithms that exceeded the time limit: 0
182187
Number of target algorithms that exceeded the memory limit: 0
183188
184189
@@ -188,7 +193,7 @@ Print the final ensemble performance
188193
189194
.. rst-class:: sphx-glr-timing
190195

191-
**Total running time of the script:** ( 5 minutes 19.116 seconds)
196+
**Total running time of the script:** ( 5 minutes 28.953 seconds)
192197

193198

194199
.. _sphx_glr_download_examples_20_basics_example_tabular_classification.py:

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

Lines changed: 12 additions & 14 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 0x7f5c373f5700>
128+
<autoPyTorch.api.tabular_regression.TabularRegressionTask object at 0x7f7ebdf86d90>
129129
130130
131131
@@ -159,22 +159,20 @@ Print the final ensemble performance
159159

160160
.. code-block:: none
161161
162-
{'r2': 0.9410530752009164}
162+
{'r2': 0.9407884171054208}
163163
| | Preprocessing | Estimator | Weight |
164164
|---:|:-------------------------------------------------------------------------------------------------|:----------------------------------------------------------------|---------:|
165-
| 0 | None | CBLearner | 0.46 |
166-
| 1 | SimpleImputer,Variance Threshold,NoCoalescer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.4 |
167-
| 2 | SimpleImputer,Variance Threshold,NoCoalescer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
168-
| 3 | SimpleImputer,Variance Threshold,NoCoalescer,NoEncoder,StandardScaler,PolynomialFeatures | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
169-
| 4 | None | LGBMLearner | 0.02 |
170-
| 5 | SimpleImputer,Variance Threshold,NoCoalescer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
165+
| 0 | None | CBLearner | 0.44 |
166+
| 1 | SimpleImputer,Variance Threshold,NoCoalescer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.42 |
167+
| 2 | SimpleImputer,Variance Threshold,NoCoalescer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.1 |
168+
| 3 | None | LGBMLearner | 0.04 |
171169
autoPyTorch results:
172-
Dataset name: be93974e-9646-11ec-87d9-dfb614d36051
170+
Dataset name: 4d60e332-964c-11ec-87e7-95e9f01c72a4
173171
Optimisation Metric: r2
174-
Best validation score: 0.8669094525651709
175-
Number of target algorithm runs: 23
176-
Number of successful target algorithm runs: 22
177-
Number of crashed target algorithm runs: 0
172+
Best validation score: 0.8670098636440993
173+
Number of target algorithm runs: 27
174+
Number of successful target algorithm runs: 25
175+
Number of crashed target algorithm runs: 1
178176
Number of target algorithms that exceeded the time limit: 1
179177
Number of target algorithms that exceeded the memory limit: 0
180178
@@ -185,7 +183,7 @@ Print the final ensemble performance
185183
186184
.. rst-class:: sphx-glr-timing
187185

188-
**Total running time of the script:** ( 5 minutes 31.341 seconds)
186+
**Total running time of the script:** ( 5 minutes 34.491 seconds)
189187

190188

191189
.. _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-
**10:58.976** total execution time for **examples_20_basics** files:
8+
**11:10.330** 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:31.341 | 0.0 MB |
11+
| :ref:`sphx_glr_examples_20_basics_example_tabular_regression.py` (``example_tabular_regression.py``) | 05:34.491 | 0.0 MB |
1212
+--------------------------------------------------------------------------------------------------------------+-----------+--------+
13-
| :ref:`sphx_glr_examples_20_basics_example_tabular_classification.py` (``example_tabular_classification.py``) | 05:19.116 | 0.0 MB |
13+
| :ref:`sphx_glr_examples_20_basics_example_tabular_classification.py` (``example_tabular_classification.py``) | 05:28.953 | 0.0 MB |
1414
+--------------------------------------------------------------------------------------------------------------+-----------+--------+
15-
| :ref:`sphx_glr_examples_20_basics_example_image_classification.py` (``example_image_classification.py``) | 00:08.519 | 0.0 MB |
15+
| :ref:`sphx_glr_examples_20_basics_example_image_classification.py` (``example_image_classification.py``) | 00:06.887 | 0.0 MB |
1616
+--------------------------------------------------------------------------------------------------------------+-----------+--------+

0 commit comments

Comments
 (0)