@@ -133,7 +133,7 @@ Search for an ensemble of machine learning algorithms
133133 .. code-block :: none
134134
135135
136- <autoPyTorch.api.tabular_classification.TabularClassificationTask object at 0x7fd84a7ed670 >
136+ <autoPyTorch.api.tabular_classification.TabularClassificationTask object at 0x7f23518d0130 >
137137
138138
139139
@@ -162,7 +162,7 @@ Print the final ensemble performance
162162
163163 .. code-block :: none
164164
165- <smac.runhistory.runhistory.RunHistory object at 0x7fd84a7edc40 > [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
165+ <smac.runhistory.runhistory.RunHistory object at 0x7f22b9279af0 > [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
166166 data_loader:batch_size, Value: 64
167167 encoder:__choice__, Value: 'OneHotEncoder'
168168 feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -194,7 +194,7 @@ Print the final ensemble performance
194194 scaler:__choice__, Value: 'StandardScaler'
195195 trainer:StandardTrainer:weighted_loss, Value: True
196196 trainer:__choice__, Value: 'StandardTrainer'
197- , ta_runs=0, ta_time_used=0.0, wallclock_time=0.0013194084167480469 , budget=0), TrajEntry(train_perf=0.1578947368421053, incumbent_id=1, incumbent=Configuration:
197+ , ta_runs=0, ta_time_used=0.0, wallclock_time=0.001338958740234375 , budget=0), TrajEntry(train_perf=0.1578947368421053, incumbent_id=1, incumbent=Configuration:
198198 data_loader:batch_size, Value: 64
199199 encoder:__choice__, Value: 'OneHotEncoder'
200200 feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -226,7 +226,7 @@ Print the final ensemble performance
226226 scaler:__choice__, Value: 'StandardScaler'
227227 trainer:StandardTrainer:weighted_loss, Value: True
228228 trainer:__choice__, Value: 'StandardTrainer'
229- , ta_runs=1, ta_time_used=4.939751625061035 , wallclock_time=5.972339868545532 , budget=5.555555555555555), TrajEntry(train_perf=0.14035087719298245, incumbent_id=2, incumbent=Configuration:
229+ , ta_runs=1, ta_time_used=3.8828110694885254 , wallclock_time=4.918331861495972 , budget=5.555555555555555), TrajEntry(train_perf=0.14035087719298245, incumbent_id=2, incumbent=Configuration:
230230 data_loader:batch_size, Value: 170
231231 encoder:__choice__, Value: 'NoEncoder'
232232 feature_preprocessor:Nystroem:kernel, Value: 'cosine'
@@ -260,32 +260,33 @@ Print the final ensemble performance
260260 trainer:MixUpTrainer:alpha, Value: 0.758019642405335
261261 trainer:MixUpTrainer:weighted_loss, Value: False
262262 trainer:__choice__, Value: 'MixUpTrainer'
263- , ta_runs=15, ta_time_used=163.56785583496094 , wallclock_time=220.1450080871582 , budget=50.0)]
263+ , ta_runs=15, ta_time_used=124.9534661769867 , wallclock_time=180.62118673324585 , budget=50.0)]
264264 {'accuracy': 0.8554913294797688}
265265 | | Preprocessing | Estimator | Weight |
266266 |---:|:------------------------------------------------------------------|:----------------------------------------------------------------|---------:|
267- | 0 | SimpleImputer,OneHotEncoder,Normalizer,KernelPCA | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.18 |
268- | 1 | None | KNNLearner | 0.16 |
269- | 2 | None | SVMLearner | 0.12 |
270- | 3 | None | CBLearner | 0.1 |
271- | 4 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
272- | 5 | SimpleImputer,OneHotEncoder,Normalizer,PowerTransformer | embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
273- | 6 | None | RFLearner | 0.06 |
274- | 7 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.06 |
275- | 8 | SimpleImputer,OneHotEncoder,MinMaxScaler,PowerTransformer | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
276- | 9 | SimpleImputer,NoEncoder,Normalizer,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
277- | 10 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
278- | 11 | SimpleImputer,OneHotEncoder,Normalizer,TruncSVD | embedding,MLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
279- | 12 | SimpleImputer,OneHotEncoder,MinMaxScaler,TruncSVD | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
280- | 13 | None | ETLearner | 0.02 |
267+ | 0 | None | CBLearner | 0.16 |
268+ | 1 | SimpleImputer,OneHotEncoder,MinMaxScaler,PowerTransformer | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.14 |
269+ | 2 | None | KNNLearner | 0.12 |
270+ | 3 | SimpleImputer,OneHotEncoder,Normalizer,KernelPCA | embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.1 |
271+ | 4 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.1 |
272+ | 5 | SimpleImputer,OneHotEncoder,Normalizer,PowerTransformer | embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
273+ | 6 | None | SVMLearner | 0.08 |
274+ | 7 | None | RFLearner | 0.04 |
275+ | 8 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
276+ | 9 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
277+ | 10 | SimpleImputer,OneHotEncoder,Normalizer,TruncSVD | embedding,MLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
278+ | 11 | SimpleImputer,OneHotEncoder,MinMaxScaler,TruncSVD | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
279+ | 12 | SimpleImputer,NoEncoder,Normalizer,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
280+ | 13 | SimpleImputer,NoEncoder,Normalizer,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
281+ | 14 | None | ETLearner | 0.02 |
281282
282283
283284
284285
285286
286287 .. rst-class :: sphx-glr-timing
287288
288- **Total running time of the script: ** ( 5 minutes 25.958 seconds)
289+ **Total running time of the script: ** ( 5 minutes 43.592 seconds)
289290
290291
291292.. _sphx_glr_download_examples_20_basics_example_tabular_classification.py :
0 commit comments