Skip to content

Commit d501028

Browse files
author
Github Actions
committed
Ravin Kohli: Feature preprocessors, Loss strategies (#86)
1 parent a28a385 commit d501028

File tree

9 files changed

+3818
-147
lines changed

9 files changed

+3818
-147
lines changed

refactor_development/_sources/examples/example_image_classification.rst.txt

Lines changed: 13 additions & 49 deletions
Large diffs are not rendered by default.

refactor_development/_sources/examples/example_tabular_classification.rst.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ with AutoPyTorch
3636

3737
.. code-block:: none
3838
39-
<smac.runhistory.runhistory.RunHistory object at 0x7f6bb408e9d0> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
39+
<smac.runhistory.runhistory.RunHistory object at 0x7f1bb4637490> [TrajEntry(train_perf=2147483648, incumbent_id=1, incumbent=Configuration:
4040
data_loader:batch_size, Value: 32
4141
encoder:__choice__, Value: 'OneHotEncoder'
42+
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
4243
imputer:categorical_strategy, Value: 'most_frequent'
4344
imputer:numerical_strategy, Value: 'mean'
4445
lr_scheduler:ReduceLROnPlateau:factor, Value: 0.1
@@ -65,9 +66,10 @@ with AutoPyTorch
6566
optimizer:__choice__, Value: 'AdamOptimizer'
6667
scaler:__choice__, Value: 'StandardScaler'
6768
trainer:__choice__, Value: 'StandardTrainer'
68-
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0018229484558105469, budget=0), TrajEntry(train_perf=0.18128654970760238, incumbent_id=1, incumbent=Configuration:
69+
, ta_runs=0, ta_time_used=0.0, wallclock_time=0.0025849342346191406, budget=0), TrajEntry(train_perf=0.16374269005847952, incumbent_id=1, incumbent=Configuration:
6970
data_loader:batch_size, Value: 32
7071
encoder:__choice__, Value: 'OneHotEncoder'
72+
feature_preprocessor:__choice__, Value: 'NoFeaturePreprocessor'
7173
imputer:categorical_strategy, Value: 'most_frequent'
7274
imputer:numerical_strategy, Value: 'mean'
7375
lr_scheduler:ReduceLROnPlateau:factor, Value: 0.1
@@ -94,8 +96,8 @@ with AutoPyTorch
9496
optimizer:__choice__, Value: 'AdamOptimizer'
9597
scaler:__choice__, Value: 'StandardScaler'
9698
trainer:__choice__, Value: 'StandardTrainer'
97-
, ta_runs=1, ta_time_used=7.783486366271973, wallclock_time=9.27663254737854, budget=5.555555555555555)]
98-
{'accuracy': 0.8670520231213873}
99+
, ta_runs=1, ta_time_used=8.814017295837402, wallclock_time=10.166006088256836, budget=5.555555555555555)]
100+
{'accuracy': 0.8959537572254336}
99101
100102
101103
@@ -202,7 +204,7 @@ with AutoPyTorch
202204
203205
.. rst-class:: sphx-glr-timing
204206

205-
**Total running time of the script:** ( 9 minutes 26.113 seconds)
207+
**Total running time of the script:** ( 9 minutes 33.319 seconds)
206208

207209

208210
.. _sphx_glr_download_examples_example_tabular_classification.py:

refactor_development/_sources/examples/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-
**09:36.925** total execution time for **examples** files:
8+
**09:38.856** total execution time for **examples** files:
99

1010
+----------------------------------------------------------------------------------------------------+-----------+--------+
11-
| :ref:`sphx_glr_examples_example_tabular_classification.py` (``example_tabular_classification.py``) | 09:26.113 | 0.0 MB |
11+
| :ref:`sphx_glr_examples_example_tabular_classification.py` (``example_tabular_classification.py``) | 09:33.319 | 0.0 MB |
1212
+----------------------------------------------------------------------------------------------------+-----------+--------+
13-
| :ref:`sphx_glr_examples_example_image_classification.py` (``example_image_classification.py``) | 00:10.812 | 0.0 MB |
13+
| :ref:`sphx_glr_examples_example_image_classification.py` (``example_image_classification.py``) | 00:05.536 | 0.0 MB |
1414
+----------------------------------------------------------------------------------------------------+-----------+--------+

0 commit comments

Comments
 (0)