Skip to content

Commit c55e151

Browse files
author
Github Actions
committed
Francisco Rivera Valverde: [FIX] Enables backend to track the num run (#162)
1 parent 1cf2aa3 commit c55e151

17 files changed

+209
-403
lines changed

refactor_development/_sources/advanced_tabular/example_custom_configuration_space.rst.txt

Lines changed: 27 additions & 122 deletions
Large diffs are not rendered by default.

refactor_development/_sources/advanced_tabular/example_resampling_strategy.rst.txt

Lines changed: 46 additions & 47 deletions
Large diffs are not rendered by default.

refactor_development/_sources/advanced_tabular/sg_execution_times.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
Computation times
77
=================
8-
**21:42.119** total execution time for **advanced_tabular** files:
8+
**21:51.748** total execution time for **advanced_tabular** files:
99

1010
+--------------------------------------------------------------------------------------------------------------------+-----------+--------+
11-
| :ref:`sphx_glr_advanced_tabular_example_custom_configuration_space.py` (``example_custom_configuration_space.py``) | 11:43.290 | 0.0 MB |
11+
| :ref:`sphx_glr_advanced_tabular_example_custom_configuration_space.py` (``example_custom_configuration_space.py``) | 11:36.455 | 0.0 MB |
1212
+--------------------------------------------------------------------------------------------------------------------+-----------+--------+
13-
| :ref:`sphx_glr_advanced_tabular_example_resampling_strategy.py` (``example_resampling_strategy.py``) | 09:58.829 | 0.0 MB |
13+
| :ref:`sphx_glr_advanced_tabular_example_resampling_strategy.py` (``example_resampling_strategy.py``) | 10:15.293 | 0.0 MB |
1414
+--------------------------------------------------------------------------------------------------------------------+-----------+--------+

refactor_development/_sources/basics_tabular/example_tabular_classification.rst.txt

Lines changed: 17 additions & 19 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 0x7f749966b6a0> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
39+
<smac.runhistory.runhistory.RunHistory object at 0x7f7fcd09e700> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
4040
data_loader:batch_size, Value: 64
4141
encoder:__choice__, Value: 'OneHotEncoder'
4242
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -68,7 +68,7 @@ with AutoPyTorch
6868
scaler:__choice__, Value: 'StandardScaler'
6969
trainer:StandardTrainer:weighted_loss, Value: True
7070
trainer:__choice__, Value: 'StandardTrainer'
71-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.002102375030517578, budget=0), TrajEntry(train_perf=0.17543859649122806, incumbent_id=1, incumbent=Configuration:
71+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.001974344253540039, budget=0), TrajEntry(train_perf=0.17543859649122806, incumbent_id=1, incumbent=Configuration:
7272
data_loader:batch_size, Value: 64
7373
encoder:__choice__, Value: 'OneHotEncoder'
7474
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
@@ -100,7 +100,7 @@ with AutoPyTorch
100100
scaler:__choice__, Value: 'StandardScaler'
101101
trainer:StandardTrainer:weighted_loss, Value: True
102102
trainer:__choice__, Value: 'StandardTrainer'
103-
, ta_runs=1, ta_time_used=5.201563596725464, wallclock_time=6.676171779632568, budget=5.555555555555555), TrajEntry(train_perf=0.14035087719298245, incumbent_id=2, incumbent=Configuration:
103+
, ta_runs=1, ta_time_used=5.617596387863159, wallclock_time=7.137464761734009, budget=5.555555555555555), TrajEntry(train_perf=0.16374269005847952, incumbent_id=2, incumbent=Configuration:
104104
data_loader:batch_size, Value: 153
105105
encoder:__choice__, Value: 'OneHotEncoder'
106106
feature_preprocessor:KernelPCA:gamma, Value: 0.6217858094449208
@@ -133,21 +133,19 @@ with AutoPyTorch
133133
trainer:MixUpTrainer:alpha, Value: 0.7490557199071863
134134
trainer:MixUpTrainer:weighted_loss, Value: False
135135
trainer:__choice__, Value: 'MixUpTrainer'
136-
, ta_runs=4, ta_time_used=50.87985134124756, wallclock_time=58.71370840072632, budget=5.555555555555555)]
137-
{'accuracy': 0.8786127167630058}
138-
| | Preprocessing | Estimator | Weight |
139-
|---:|:------------------------------------------------------------------|:----------------------------------------------------------------|---------:|
140-
| 0 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.24 |
141-
| 1 | None | CatBoostClassifier | 0.18 |
142-
| 2 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.16 |
143-
| 3 | None | KNNClassifier | 0.1 |
144-
| 4 | SimpleImputer,NoEncoder,NoScaler,PolynomialFeatures | no embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
145-
| 5 | None | ExtraTreesClassifier | 0.08 |
146-
| 6 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
147-
| 7 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
148-
| 8 | SimpleImputer,OneHotEncoder,MinMaxScaler,PolynomialFeatures | embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
149-
| 9 | SimpleImputer,NoEncoder,NoScaler,Nystroem | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
150-
| 10 | SimpleImputer,OneHotEncoder,StandardScaler,NoFeaturePreprocessing | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.02 |
136+
, ta_runs=4, ta_time_used=49.19730734825134, wallclock_time=57.43541860580444, budget=5.555555555555555)]
137+
{'accuracy': 0.8728323699421965}
138+
| | Preprocessing | Estimator | Weight |
139+
|---:|:-----------------------------------------------------|:----------------------------------------------------------------|---------:|
140+
| 0 | None | CatBoostClassifier | 0.36 |
141+
| 1 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.14 |
142+
| 2 | None | RFClassifier | 0.1 |
143+
| 3 | None | ExtraTreesClassifier | 0.1 |
144+
| 4 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
145+
| 5 | SimpleImputer,NoEncoder,NoScaler,PolynomialFeatures | no embedding,ResNetBackbone,FullyConnectedHead,nn.Sequential | 0.08 |
146+
| 6 | None | SVC | 0.06 |
147+
| 7 | SimpleImputer,OneHotEncoder,StandardScaler,KernelPCA | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.04 |
148+
| 8 | None | KNNClassifier | 0.04 |
151149
152150
153151
@@ -225,7 +223,7 @@ with AutoPyTorch
225223
226224
.. rst-class:: sphx-glr-timing
227225

228-
**Total running time of the script:** ( 6 minutes 3.800 seconds)
226+
**Total running time of the script:** ( 6 minutes 5.257 seconds)
229227

230228

231229
.. _sphx_glr_download_basics_tabular_example_tabular_classification.py:

refactor_development/_sources/basics_tabular/example_tabular_regression.rst.txt

Lines changed: 8 additions & 7 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 0x7f74912b30a0> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
39+
<smac.runhistory.runhistory.RunHistory object at 0x7f7fc508cf40> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
4040
data_loader:batch_size, Value: 64
4141
encoder:__choice__, Value: 'OneHotEncoder'
4242
imputer:categorical_strategy, Value: 'most_frequent'
@@ -66,7 +66,7 @@ with AutoPyTorch
6666
optimizer:__choice__, Value: 'AdamOptimizer'
6767
scaler:__choice__, Value: 'StandardScaler'
6868
trainer:__choice__, Value: 'StandardTrainer'
69-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0016345977783203125, budget=0), TrajEntry(train_perf=0.6495266348731004, incumbent_id=1, incumbent=Configuration:
69+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0018508434295654297, budget=0), TrajEntry(train_perf=0.3455457959161278, incumbent_id=1, incumbent=Configuration:
7070
data_loader:batch_size, Value: 64
7171
encoder:__choice__, Value: 'OneHotEncoder'
7272
imputer:categorical_strategy, Value: 'most_frequent'
@@ -96,12 +96,13 @@ with AutoPyTorch
9696
optimizer:__choice__, Value: 'AdamOptimizer'
9797
scaler:__choice__, Value: 'StandardScaler'
9898
trainer:__choice__, Value: 'StandardTrainer'
99-
, ta_runs=1, ta_time_used=4.129133701324463, wallclock_time=7.758663892745972, budget=5.555555555555555)]
100-
{'r2': 0.8833727208468919}
99+
, ta_runs=1, ta_time_used=4.5675368309021, wallclock_time=8.493228435516357, budget=5.555555555555555)]
100+
{'r2': 0.8982766406312925}
101101
| | Preprocessing | Estimator | Weight |
102102
|---:|:-------------------------------------------|:----------------------------------------------------------------|---------:|
103-
| 0 | SimpleImputer,OneHotEncoder,StandardScaler | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.7 |
104-
| 1 | SimpleImputer,OneHotEncoder,StandardScaler | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.3 |
103+
| 0 | SimpleImputer,OneHotEncoder,StandardScaler | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.78 |
104+
| 1 | SimpleImputer,OneHotEncoder,StandardScaler | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.12 |
105+
| 2 | SimpleImputer,OneHotEncoder,StandardScaler | no embedding,ShapedMLPBackbone,FullyConnectedHead,nn.Sequential | 0.1 |
105106
106107
107108
@@ -193,7 +194,7 @@ with AutoPyTorch
193194
194195
.. rst-class:: sphx-glr-timing
195196

196-
**Total running time of the script:** ( 5 minutes 23.292 seconds)
197+
**Total running time of the script:** ( 5 minutes 13.817 seconds)
197198

198199

199200
.. _sphx_glr_download_basics_tabular_example_tabular_regression.py:

refactor_development/_sources/basics_tabular/sg_execution_times.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
Computation times
77
=================
8-
**11:27.092** total execution time for **basics_tabular** files:
8+
**11:19.074** total execution time for **basics_tabular** files:
99

1010
+----------------------------------------------------------------------------------------------------------+-----------+--------+
11-
| :ref:`sphx_glr_basics_tabular_example_tabular_classification.py` (``example_tabular_classification.py``) | 06:03.800 | 0.0 MB |
11+
| :ref:`sphx_glr_basics_tabular_example_tabular_classification.py` (``example_tabular_classification.py``) | 06:05.257 | 0.0 MB |
1212
+----------------------------------------------------------------------------------------------------------+-----------+--------+
13-
| :ref:`sphx_glr_basics_tabular_example_tabular_regression.py` (``example_tabular_regression.py``) | 05:23.292 | 0.0 MB |
13+
| :ref:`sphx_glr_basics_tabular_example_tabular_regression.py` (``example_tabular_regression.py``) | 05:13.817 | 0.0 MB |
1414
+----------------------------------------------------------------------------------------------------------+-----------+--------+

0 commit comments

Comments
 (0)