@@ -36,7 +36,7 @@ with AutoPyTorch
3636
3737 .. code-block :: none
3838
39- <smac.runhistory.runhistory.RunHistory object at 0x7f42044b7c10 > [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
39+ <smac.runhistory.runhistory.RunHistory object at 0x7ff7fbf2b190 > [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.0021822452545166016 , budget=0), TrajEntry(train_perf=0.1871345029239766 , incumbent_id=1, incumbent=Configuration:
80+ , ta_runs=0, ta_time_used=0.0, wallclock_time=0.0019752979278564453 , budget=0), TrajEntry(train_perf=0.216374269005848 , incumbent_id=1, incumbent=Configuration:
8181 data_loader:batch_size, Value: 32
8282 encoder:__choice__, Value: 'OneHotEncoder'
8383 feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -118,60 +118,92 @@ 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.781935930252075, wallclock_time=6.252290487289429, budget=5.555555555555555), TrajEntry(train_perf=0.14619883040935677, incumbent_id=2, incumbent=Configuration:
122- data_loader:batch_size, Value: 295
123- encoder:__choice__, Value: 'OneHotEncoder'
124- feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
121+ , ta_runs=1, ta_time_used=5.269052505493164, wallclock_time=6.652451276779175, budget=5.555555555555555), TrajEntry(train_perf=0.21052631578947367, incumbent_id=2, incumbent=Configuration:
122+ data_loader:batch_size, Value: 472
123+ encoder:__choice__, Value: 'NoEncoder'
124+ feature_preprocessor:Nystroem:gamma, Value: 0.07411722362589628
125+ feature_preprocessor:Nystroem:kernel, Value: 'rbf'
126+ feature_preprocessor:Nystroem:n_components, Value: 5
127+ feature_preprocessor:__choice__, Value: 'Nystroem'
125128 imputer:categorical_strategy, Value: 'constant_!missing!'
126- imputer:numerical_strategy, Value: 'median'
127- lr_scheduler:ReduceLROnPlateau:factor, Value: 0.7683488018951772
128- lr_scheduler:ReduceLROnPlateau:mode, Value: 'min'
129- lr_scheduler:ReduceLROnPlateau:patience, Value: 7
130- lr_scheduler:__choice__, Value: 'ReduceLROnPlateau'
129+ imputer:numerical_strategy, Value: 'constant_zero'
130+ lr_scheduler:__choice__, Value: 'NoScheduler'
131131 network_backbone:ShapedMLPBackbone:activation, Value: 'tanh'
132- network_backbone:ShapedMLPBackbone:max_units, Value: 316
132+ network_backbone:ShapedMLPBackbone:max_units, Value: 766
133+ network_backbone:ShapedMLPBackbone:mlp_shape, Value: 'diamond'
134+ network_backbone:ShapedMLPBackbone:num_groups, Value: 9
135+ network_backbone:ShapedMLPBackbone:output_dim, Value: 243
136+ network_backbone:ShapedMLPBackbone:use_dropout, Value: False
137+ network_backbone:__choice__, Value: 'ShapedMLPBackbone'
138+ network_embedding:__choice__, Value: 'NoEmbedding'
139+ network_head:__choice__, Value: 'fully_connected'
140+ network_head:fully_connected:activation, Value: 'tanh'
141+ network_head:fully_connected:num_layers, Value: 3
142+ network_head:fully_connected:units_layer_1, Value: 323
143+ network_head:fully_connected:units_layer_2, Value: 332
144+ network_init:KaimingInit:bias_strategy, Value: 'Normal'
145+ network_init:__choice__, Value: 'KaimingInit'
146+ optimizer:SGDOptimizer:lr, Value: 0.0024087824203718427
147+ optimizer:SGDOptimizer:momentum, Value: 0.418322885741585
148+ optimizer:SGDOptimizer:weight_decay, Value: 0.015250671878609713
149+ optimizer:__choice__, Value: 'SGDOptimizer'
150+ scaler:__choice__, Value: 'NoScaler'
151+ trainer:MixUpTrainer:alpha, Value: 0.4043218849947128
152+ trainer:MixUpTrainer:weighted_loss, Value: True
153+ trainer:__choice__, Value: 'MixUpTrainer'
154+ , ta_runs=3, ta_time_used=40.172093629837036, wallclock_time=46.57782244682312, budget=5.555555555555555), TrajEntry(train_perf=0.17543859649122806, incumbent_id=3, incumbent=Configuration:
155+ data_loader:batch_size, Value: 224
156+ encoder:__choice__, Value: 'OneHotEncoder'
157+ feature_preprocessor:KernelPCA:gamma, Value: 0.6217858094449208
158+ feature_preprocessor:KernelPCA:kernel, Value: 'rbf'
159+ feature_preprocessor:KernelPCA:n_components, Value: 4
160+ feature_preprocessor:__choice__, Value: 'KernelPCA'
161+ imputer:categorical_strategy, Value: 'constant_!missing!'
162+ imputer:numerical_strategy, Value: 'most_frequent'
163+ lr_scheduler:CosineAnnealingWarmRestarts:T_0, Value: 10
164+ lr_scheduler:CosineAnnealingWarmRestarts:T_mult, Value: 1.9483254217071713
165+ lr_scheduler:__choice__, Value: 'CosineAnnealingWarmRestarts'
166+ network_backbone:ShapedMLPBackbone:activation, Value: 'relu'
167+ network_backbone:ShapedMLPBackbone:max_units, Value: 948
133168 network_backbone:ShapedMLPBackbone:mlp_shape, Value: 'long_funnel'
134- network_backbone:ShapedMLPBackbone:num_groups, Value: 6
135- network_backbone:ShapedMLPBackbone:output_dim, Value: 425
169+ network_backbone:ShapedMLPBackbone:num_groups, Value: 13
170+ network_backbone:ShapedMLPBackbone:output_dim, Value: 761
136171 network_backbone:ShapedMLPBackbone:use_dropout, Value: False
137172 network_backbone:__choice__, Value: 'ShapedMLPBackbone'
138173 network_embedding:__choice__, Value: 'NoEmbedding'
139174 network_head:__choice__, Value: 'fully_connected'
140- network_head:fully_connected:activation, Value: 'relu'
141- network_head:fully_connected:num_layers, Value: 2
142- network_head:fully_connected:units_layer_1, Value: 424
143- network_init:OrthogonalInit:bias_strategy, Value: 'Zero'
144- network_init:__choice__, Value: 'OrthogonalInit'
145- optimizer:RMSpropOptimizer:alpha, Value: 0.6699215268945383
146- optimizer:RMSpropOptimizer:lr, Value: 0.0009911973694107326
147- optimizer:RMSpropOptimizer:momentum, Value: 0.11786464509318967
148- optimizer:RMSpropOptimizer:weight_decay, Value: 0.04607537154099883
175+ network_head:fully_connected:num_layers, Value: 1
176+ network_init:KaimingInit:bias_strategy, Value: 'Zero'
177+ network_init:__choice__, Value: 'KaimingInit'
178+ optimizer:RMSpropOptimizer:alpha, Value: 0.19641480830908647
179+ optimizer:RMSpropOptimizer:lr, Value: 5.575047339285285e-05
180+ optimizer:RMSpropOptimizer:momentum, Value: 0.9188318520804722
181+ optimizer:RMSpropOptimizer:weight_decay, Value: 0.03663295762981204
149182 optimizer:__choice__, Value: 'RMSpropOptimizer'
150- scaler:Normalizer:norm, Value: 'max'
151- scaler:__choice__, Value: 'Normalizer'
152- trainer:StandardTrainer:weighted_loss, Value: False
153- trainer:__choice__, Value: 'StandardTrainer'
154- , ta_runs=20, ta_time_used=229.40343284606934, wallclock_time=290.8017210960388, budget=50.0)]
155- {'accuracy': 0.8670520231213873}
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 |
183+ scaler:__choice__, Value: 'StandardScaler'
184+ trainer:MixUpTrainer:alpha, Value: 0.7490557199071863
185+ trainer:MixUpTrainer:weighted_loss, Value: False
186+ trainer:__choice__, Value: 'MixUpTrainer'
187+ , ta_runs=4, ta_time_used=48.74088931083679, wallclock_time=56.56371068954468, budget=5.555555555555555)]
188+ {'accuracy': 0.861271676300578}
189+ | | Preprocessing | Estimator | Weight |
190+ |---:|:------------------------------------------------------------------|:-------------------------------------------------------------------|---------:|
191+ | 0 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.14 |
192+ | 1 | None | ExtraTreesClassifier | 0.12 |
193+ | 2 | None | KNNClassifier | 0.12 |
194+ | 3 | SimpleImputer,OneHotEncoder,Normalizer,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.1 |
195+ | 4 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
196+ | 5 | SimpleImputer,OneHotEncoder,Normalizer,KitchenSink | no embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
197+ | 6 | SimpleImputer,OneHotEncoder,NoScaler,TruncSVD | no embedding,ShapedResNetBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
198+ | 7 | SimpleImputer,NoEncoder,NoScaler,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
199+ | 8 | SimpleImputer,OneHotEncoder,MinMaxScaler,PolynomialFeatures | embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
200+ | 9 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
201+ | 10 | SimpleImputer,NoEncoder,NoScaler,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
202+ | 11 | None | LGBMClassifier | 0.02 |
203+ | 12 | None | RFClassifier | 0.02 |
204+ | 13 | None | SVC | 0.02 |
205+ | 14 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
206+ | 15 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
175207
176208
177209
@@ -263,7 +295,7 @@ with AutoPyTorch
263295
264296 .. rst-class :: sphx-glr-timing
265297
266- **Total running time of the script: ** ( 9 minutes 17.694 seconds)
298+ **Total running time of the script: ** ( 9 minutes 22.257 seconds)
267299
268300
269301.. _sphx_glr_download_examples_example_tabular_classification.py :
0 commit comments