Skip to content

Commit 82dcba7

Browse files
author
Github Actions
committed
Eddie Bergman: Port over to AutoML common (#1318)
1 parent 6927757 commit 82dcba7

File tree

67 files changed

+712
-603
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+712
-603
lines changed
Binary file not shown.
Binary file not shown.
Loading
Loading
Loading

development/_sources/examples/20_basic/example_classification.rst.txt

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

development/_sources/examples/20_basic/example_multilabel_classification.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ View the models found by auto-sklearn
154154
155155
rank ensemble_weight type cost duration
156156
model_id
157-
2 1 1.0 random_forest 0.447294 4.364232
157+
2 1 1.0 random_forest 0.447294 4.122788
158158
159159
160160
@@ -262,7 +262,7 @@ Get the Score of the final ensemble
262262
263263
.. rst-class:: sphx-glr-timing
264264

265-
**Total running time of the script:** ( 0 minutes 16.939 seconds)
265+
**Total running time of the script:** ( 0 minutes 15.843 seconds)
266266

267267

268268
.. _sphx_glr_download_examples_20_basic_example_multilabel_classification.py:

development/_sources/examples/20_basic/example_multioutput_regression.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ View the models found by auto-sklearn
124124
125125
rank ensemble_weight type cost duration
126126
model_id
127-
18 1 1.0 gaussian_process 1.021347e-08 2.858771
127+
12 1 1.0 gaussian_process 1.125731e-10 6.505112
128128
129129
130130
@@ -151,7 +151,7 @@ Print the final ensemble constructed by auto-sklearn
151151

152152
.. code-block:: none
153153
154-
[(1.000000, SimpleRegressionPipeline({'data_preprocessor:__choice__': 'feature_type', 'feature_preprocessor:__choice__': 'no_preprocessing', 'regressor:__choice__': 'gaussian_process', 'data_preprocessor:feature_type:categorical_transformer:categorical_encoding:__choice__': 'no_encoding', 'data_preprocessor:feature_type:categorical_transformer:category_coalescence:__choice__': 'minority_coalescer', 'data_preprocessor:feature_type:numerical_transformer:imputation:strategy': 'median', 'data_preprocessor:feature_type:numerical_transformer:rescaling:__choice__': 'none', 'regressor:gaussian_process:alpha': 6.862614540380134e-10, 'regressor:gaussian_process:thetaL': 1.944608422766674e-09, 'regressor:gaussian_process:thetaU': 917.8440681079683, 'data_preprocessor:feature_type:categorical_transformer:category_coalescence:minority_coalescer:minimum_fraction': 0.00018156864684755125},
154+
[(1.000000, SimpleRegressionPipeline({'data_preprocessor:__choice__': 'feature_type', 'feature_preprocessor:__choice__': 'no_preprocessing', 'regressor:__choice__': 'gaussian_process', 'data_preprocessor:feature_type:categorical_transformer:categorical_encoding:__choice__': 'one_hot_encoding', 'data_preprocessor:feature_type:categorical_transformer:category_coalescence:__choice__': 'no_coalescense', 'data_preprocessor:feature_type:numerical_transformer:imputation:strategy': 'most_frequent', 'data_preprocessor:feature_type:numerical_transformer:rescaling:__choice__': 'minmax', 'regressor:gaussian_process:alpha': 5.779680060624107e-12, 'regressor:gaussian_process:thetaL': 1.1426676475875125e-10, 'regressor:gaussian_process:thetaU': 67194.35311216833},
155155
dataset_properties={
156156
'task': 5,
157157
'sparse': False,
@@ -186,7 +186,7 @@ Get the Score of the final ensemble
186186

187187
.. code-block:: none
188188
189-
R2 score: 0.9999999870724605
189+
R2 score: 0.9999999999006857
190190
191191
192192
@@ -409,7 +409,7 @@ Get the configuration space
409409
410410
.. rst-class:: sphx-glr-timing
411411

412-
**Total running time of the script:** ( 1 minutes 55.142 seconds)
412+
**Total running time of the script:** ( 1 minutes 55.217 seconds)
413413

414414

415415
.. _sphx_glr_download_examples_20_basic_example_multioutput_regression.py:

development/_sources/examples/20_basic/example_regression.rst.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ View the models found by auto-sklearn
121121
122122
rank ensemble_weight type cost duration
123123
model_id
124-
25 1 0.46 sgd 0.436679 0.831828
125-
6 2 0.32 ard_regression 0.455042 0.847448
126-
27 3 0.14 ard_regression 0.462249 0.826625
127-
11 4 0.02 random_forest 0.507400 10.825404
128-
7 5 0.06 gradient_boosting 0.518673 1.553152
124+
25 1 0.46 sgd 0.436679 0.752868
125+
6 2 0.32 ard_regression 0.455042 0.802489
126+
27 3 0.14 ard_regression 0.462249 0.785675
127+
11 4 0.02 random_forest 0.507400 10.257058
128+
7 5 0.06 gradient_boosting 0.518673 1.482558
129129
130130
131131
@@ -267,7 +267,7 @@ the true value).
267267

268268
.. rst-class:: sphx-glr-timing
269269

270-
**Total running time of the script:** ( 2 minutes 3.425 seconds)
270+
**Total running time of the script:** ( 1 minutes 55.166 seconds)
271271

272272

273273
.. _sphx_glr_download_examples_20_basic_example_regression.py:

development/_sources/examples/20_basic/sg_execution_times.rst.txt

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

66
Computation times
77
=================
8-
**06:15.313** total execution time for **examples_20_basic** files:
8+
**06:07.703** total execution time for **examples_20_basic** files:
99

1010
+-------------------------------------------------------------------------------------------------------------------+-----------+--------+
11-
| :ref:`sphx_glr_examples_20_basic_example_regression.py` (``example_regression.py``) | 02:03.425 | 0.0 MB |
11+
| :ref:`sphx_glr_examples_20_basic_example_classification.py` (``example_classification.py``) | 02:01.477 | 0.0 MB |
1212
+-------------------------------------------------------------------------------------------------------------------+-----------+--------+
13-
| :ref:`sphx_glr_examples_20_basic_example_classification.py` (``example_classification.py``) | 01:59.808 | 0.0 MB |
13+
| :ref:`sphx_glr_examples_20_basic_example_multioutput_regression.py` (``example_multioutput_regression.py``) | 01:55.217 | 0.0 MB |
1414
+-------------------------------------------------------------------------------------------------------------------+-----------+--------+
15-
| :ref:`sphx_glr_examples_20_basic_example_multioutput_regression.py` (``example_multioutput_regression.py``) | 01:55.142 | 0.0 MB |
15+
| :ref:`sphx_glr_examples_20_basic_example_regression.py` (``example_regression.py``) | 01:55.166 | 0.0 MB |
1616
+-------------------------------------------------------------------------------------------------------------------+-----------+--------+
17-
| :ref:`sphx_glr_examples_20_basic_example_multilabel_classification.py` (``example_multilabel_classification.py``) | 00:16.939 | 0.0 MB |
17+
| :ref:`sphx_glr_examples_20_basic_example_multilabel_classification.py` (``example_multilabel_classification.py``) | 00:15.843 | 0.0 MB |
1818
+-------------------------------------------------------------------------------------------------------------------+-----------+--------+

development/_sources/examples/40_advanced/example_calc_multiple_metrics.rst.txt

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -150,50 +150,51 @@ Get the Score of the final ensemble
150150

151151
.. code-block:: none
152152
153-
Accuracy score 0.958041958041958
153+
Accuracy score 0.9440559440559441
154154
################################################################################
155155
Metric results
156156
rank_test_scores param_classifier:__choice__ mean_test_score metric_balanced_accuracy metric_precision metric_recall metric_f1 metric_custom_error
157-
5 random_forest 0.971631 0.969533 0.977528 0.977528 0.977528 0.028369
158-
5 mlp 0.971631 0.961538 0.956989 1.000000 0.978022 0.028369
159-
27 mlp 0.943262 0.935069 0.945055 0.966292 0.955556 0.056738
160-
15 random_forest 0.964539 0.959918 0.966667 0.977528 0.972067 0.035461
161-
5 mlp 0.971631 0.961538 0.956989 1.000000 0.978022 0.028369
157+
6 random_forest 0.971631 0.969533 0.977528 0.977528 0.977528 0.028369
158+
6 mlp 0.971631 0.961538 0.956989 1.000000 0.978022 0.028369
159+
28 mlp 0.943262 0.935069 0.945055 0.966292 0.955556 0.056738
160+
16 random_forest 0.964539 0.959918 0.966667 0.977528 0.972067 0.035461
161+
6 mlp 0.971631 0.961538 0.956989 1.000000 0.978022 0.028369
162+
1 extra_trees 0.985816 0.984767 0.988764 0.988764 0.988764 0.014184
163+
16 random_forest 0.964539 0.963915 0.977273 0.966292 0.971751 0.035461
164+
21 extra_trees 0.957447 0.954300 0.966292 0.966292 0.966292 0.042553
165+
6 random_forest 0.971631 0.969533 0.977528 0.977528 0.977528 0.028369
166+
6 random_forest 0.971631 0.969533 0.977528 0.977528 0.977528 0.028369
167+
16 gradient_boosting 0.964539 0.963915 0.977273 0.966292 0.971751 0.035461
168+
6 gradient_boosting 0.971631 0.965536 0.967033 0.988764 0.977778 0.028369
169+
6 mlp 0.971631 0.965536 0.967033 0.988764 0.977778 0.028369
170+
25 mlp 0.950355 0.948682 0.965909 0.955056 0.960452 0.049645
171+
3 gradient_boosting 0.978723 0.975151 0.977778 0.988764 0.983240 0.021277
172+
16 gradient_boosting 0.964539 0.959918 0.966667 0.977528 0.972067 0.035461
173+
16 random_forest 0.964539 0.959918 0.966667 0.977528 0.972067 0.035461
174+
6 extra_trees 0.971631 0.969533 0.977528 0.977528 0.977528 0.028369
175+
33 passive_aggressive 0.921986 0.894231 0.890000 1.000000 0.941799 0.078014
176+
3 extra_trees 0.978723 0.975151 0.977778 0.988764 0.983240 0.021277
177+
6 gradient_boosting 0.971631 0.965536 0.967033 0.988764 0.977778 0.028369
178+
25 mlp 0.950355 0.940687 0.945652 0.977528 0.961326 0.049645
179+
31 random_forest 0.929078 0.923833 0.943820 0.943820 0.943820 0.070922
180+
21 adaboost 0.957447 0.950303 0.956044 0.977528 0.966667 0.042553
181+
6 extra_trees 0.971631 0.965536 0.967033 0.988764 0.977778 0.028369
182+
21 extra_trees 0.957447 0.954300 0.966292 0.966292 0.966292 0.042553
183+
31 bernoulli_nb 0.929078 0.923833 0.943820 0.943820 0.943820 0.070922
184+
3 extra_trees 0.978723 0.979149 0.988636 0.977528 0.983051 0.021277
185+
21 liblinear_svc 0.957447 0.954300 0.966292 0.966292 0.966292 0.042553
186+
28 gaussian_nb 0.943262 0.935069 0.945055 0.966292 0.955556 0.056738
187+
25 extra_trees 0.950355 0.936690 0.936170 0.988764 0.961749 0.049645
188+
28 random_forest 0.943262 0.943064 0.965517 0.943820 0.954545 0.056738
162189
1 extra_trees 0.985816 0.984767 0.988764 0.988764 0.988764 0.014184
163-
15 random_forest 0.964539 0.963915 0.977273 0.966292 0.971751 0.035461
164-
20 extra_trees 0.957447 0.954300 0.966292 0.966292 0.966292 0.042553
165-
5 random_forest 0.971631 0.969533 0.977528 0.977528 0.977528 0.028369
166-
5 random_forest 0.971631 0.969533 0.977528 0.977528 0.977528 0.028369
167-
15 gradient_boosting 0.964539 0.963915 0.977273 0.966292 0.971751 0.035461
168-
5 gradient_boosting 0.971631 0.965536 0.967033 0.988764 0.977778 0.028369
169-
5 mlp 0.971631 0.965536 0.967033 0.988764 0.977778 0.028369
170-
24 mlp 0.950355 0.948682 0.965909 0.955056 0.960452 0.049645
171-
2 gradient_boosting 0.978723 0.975151 0.977778 0.988764 0.983240 0.021277
172-
15 gradient_boosting 0.964539 0.959918 0.966667 0.977528 0.972067 0.035461
173-
15 random_forest 0.964539 0.959918 0.966667 0.977528 0.972067 0.035461
174-
5 extra_trees 0.971631 0.969533 0.977528 0.977528 0.977528 0.028369
175-
32 passive_aggressive 0.921986 0.894231 0.890000 1.000000 0.941799 0.078014
176-
2 extra_trees 0.978723 0.975151 0.977778 0.988764 0.983240 0.021277
177-
5 gradient_boosting 0.971631 0.965536 0.967033 0.988764 0.977778 0.028369
178-
24 mlp 0.950355 0.940687 0.945652 0.977528 0.961326 0.049645
179-
30 random_forest 0.929078 0.923833 0.943820 0.943820 0.943820 0.070922
180-
20 adaboost 0.957447 0.950303 0.956044 0.977528 0.966667 0.042553
181-
5 extra_trees 0.971631 0.965536 0.967033 0.988764 0.977778 0.028369
182-
20 extra_trees 0.957447 0.954300 0.966292 0.966292 0.966292 0.042553
183-
30 bernoulli_nb 0.929078 0.923833 0.943820 0.943820 0.943820 0.070922
184-
2 extra_trees 0.978723 0.979149 0.988636 0.977528 0.983051 0.021277
185-
20 liblinear_svc 0.957447 0.954300 0.966292 0.966292 0.966292 0.042553
186-
27 gaussian_nb 0.943262 0.935069 0.945055 0.966292 0.955556 0.056738
187-
24 extra_trees 0.950355 0.936690 0.936170 0.988764 0.961749 0.049645
188-
27 random_forest 0.943262 0.943064 0.965517 0.943820 0.954545 0.056738
189190
190191
191192
192193
193194
194195
.. rst-class:: sphx-glr-timing
195196

196-
**Total running time of the script:** ( 2 minutes 2.443 seconds)
197+
**Total running time of the script:** ( 1 minutes 56.364 seconds)
197198

198199

199200
.. _sphx_glr_download_examples_40_advanced_example_calc_multiple_metrics.py:

development/_sources/examples/40_advanced/example_debug_logging.rst.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ Build and fit a classifier
174174

175175
.. code-block:: none
176176
177-
2021-12-02 12:18:34,208 - Client-EnsembleBuilder - INFO - DummyFuture: ([{'Timestamp': Timestamp('2021-12-02 12:18:34.186127'), 'ensemble_optimization_score': 0.47853535353535354, 'ensemble_test_score': 0.47434292866082606}], 50, None, None, None)/SingleThreadedClient() Started Ensemble builder job at 2021.12.02-12.18.34 for iteration 0.
178-
2021-12-02 12:18:40,928 - Client-EnsembleBuilder - INFO - DummyFuture: ([], 50, None, None, None)/SingleThreadedClient() Started Ensemble builder job at 2021.12.02-12.18.40 for iteration 1.
177+
2021-12-02 14:30:28,383 - Client-EnsembleBuilder - INFO - DummyFuture: ([{'Timestamp': Timestamp('2021-12-02 14:30:28.363787'), 'ensemble_optimization_score': 0.47853535353535354, 'ensemble_test_score': 0.47434292866082606}], 50, None, None, None)/SingleThreadedClient() Started Ensemble builder job at 2021.12.02-14.30.28 for iteration 0.
178+
2021-12-02 14:30:34,938 - Client-EnsembleBuilder - INFO - DummyFuture: ([], 50, None, None, None)/SingleThreadedClient() Started Ensemble builder job at 2021.12.02-14.30.34 for iteration 1.
179179
tmp_folder/smac3-output
180180
tmp_folder/space.json
181181
tmp_folder/.auto-sklearn
182-
tmp_folder/AutoML(1):f42db0fa-5369-11ec-864c-bf61093ad6e7.log
182+
tmp_folder/AutoML(1):614720fc-537c-11ec-8760-1f58a1fe7d9b.log
183183
tmp_folder/distributed.log
184184
185185
@@ -188,7 +188,7 @@ Build and fit a classifier
188188
189189
.. rst-class:: sphx-glr-timing
190190

191-
**Total running time of the script:** ( 0 minutes 21.316 seconds)
191+
**Total running time of the script:** ( 0 minutes 21.197 seconds)
192192

193193

194194
.. _sphx_glr_download_examples_40_advanced_example_debug_logging.py:

development/_sources/examples/40_advanced/example_feature_types.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Get the Score of the final ensemble
161161
162162
.. rst-class:: sphx-glr-timing
163163

164-
**Total running time of the script:** ( 0 minutes 11.888 seconds)
164+
**Total running time of the script:** ( 0 minutes 14.981 seconds)
165165

166166

167167
.. _sphx_glr_download_examples_40_advanced_example_feature_types.py:

0 commit comments

Comments
 (0)