Skip to content

Commit

Permalink
Pepe Berba: Add size check before trying to split for GMeans (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Feb 24, 2021
1 parent 2c3d8d9 commit 2c7a444
Show file tree
Hide file tree
Showing 51 changed files with 415 additions and 575 deletions.
Binary file not shown.
Binary file not shown.
Binary file modified development/_images/sphx_glr_example_pandas_train_test_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified development/_images/sphx_glr_example_pandas_train_test_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Get the Score of the final ensemble
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 18.419 seconds)
**Total running time of the script:** ( 0 minutes 16.086 seconds)


.. _sphx_glr_download_examples_20_basic_example_multilabel_classification.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,15 @@ Get the Score of the final ensemble

.. code-block:: none
R2 score: 0.904046583977308
R2 score: 0.9040477219435149
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 1 minutes 56.725 seconds)
**Total running time of the script:** ( 1 minutes 56.688 seconds)


.. _sphx_glr_download_examples_20_basic_example_regression.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

Computation times
=================
**04:19.969** total execution time for **examples_20_basic** files:
**04:18.948** total execution time for **examples_20_basic** files:

+-------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_20_basic_example_classification.py` (``example_classification.py``) | 02:04.826 | 0.0 MB |
| :ref:`sphx_glr_examples_20_basic_example_classification.py` (``example_classification.py``) | 02:06.174 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_20_basic_example_regression.py` (``example_regression.py``) | 01:56.725 | 0.0 MB |
| :ref:`sphx_glr_examples_20_basic_example_regression.py` (``example_regression.py``) | 01:56.688 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_20_basic_example_multilabel_classification.py` (``example_multilabel_classification.py``) | 00:18.419 | 0.0 MB |
| :ref:`sphx_glr_examples_20_basic_example_multilabel_classification.py` (``example_multilabel_classification.py``) | 00:16.086 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------+-----------+--------+
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Get the Score of the final ensemble
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 1 minutes 56.139 seconds)
**Total running time of the script:** ( 1 minutes 57.729 seconds)


.. _sphx_glr_download_examples_40_advanced_example_calc_multiple_metrics.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Get the Score of the final ensemble
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 14.154 seconds)
**Total running time of the script:** ( 0 minutes 13.549 seconds)


.. _sphx_glr_download_examples_40_advanced_example_feature_types.py:
Expand Down

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions development/_sources/examples/40_advanced/example_metrics.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,13 @@ Second example: Use own accuracy metric
################################################################################
Use self defined accuracy metric
Accuracy score 0.937063 using accu
Accuracy score 0.944056 using accu
################################################################################
Use self defined error metric
[WARNING] [2021-02-24 21:03:57,227:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:03:58,262:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:03:59,100:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
Error rate -0.0629371 using error
[WARNING] [2021-02-24 21:07:44,021:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:07:45,244:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:07:46,226:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
Error rate -0.0559441 using error
Expand Down Expand Up @@ -363,19 +363,19 @@ Third example: Use own accuracy metric with additional argument
################################################################################
Use self defined accuracy with additional argument
Accuracy score 0.937063 using accu_add
Accuracy score 0.944056 using accu_add
################################################################################
Use self defined error with additional argument
[WARNING] [2021-02-24 21:05:09,745:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:12,757:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:17,308:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:18,907:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:51,552:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:51,553:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:52,524:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:52,525:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:53,294:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:05:53,295:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:08:57,220:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:00,867:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:05,895:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:07,866:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:41,064:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:41,065:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:42,279:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:42,279:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:43,167:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
[WARNING] [2021-02-24 21:09:43,167:smac.runhistory.runhistory2epm.RunHistory2EPM4LogCost] Got cost of smaller/equal to 0. Replace by 0.000010 since we use log cost.
Error rate 0.615385 using error_add
Expand All @@ -384,7 +384,7 @@ Third example: Use own accuracy metric with additional argument
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 4 minutes 39.262 seconds)
**Total running time of the script:** ( 4 minutes 49.418 seconds)


.. _sphx_glr_download_examples_40_advanced_example_metrics.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ Plot the ensemble performance

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

**Total running time of the script:** ( 2 minutes 1.664 seconds)
**Total running time of the script:** ( 1 minutes 55.878 seconds)


.. _sphx_glr_download_examples_40_advanced_example_pandas_train_test.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ splitting it on the first feature.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 5 minutes 59.337 seconds)
**Total running time of the script:** ( 6 minutes 6.687 seconds)


.. _sphx_glr_download_examples_40_advanced_example_resampling.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@

Computation times
=================
**15:20.036** total execution time for **examples_40_advanced** files:
**15:28.268** total execution time for **examples_40_advanced** files:

+------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_40_advanced_example_resampling.py` (``example_resampling.py``) | 05:59.337 | 0.0 MB |
| :ref:`sphx_glr_examples_40_advanced_example_resampling.py` (``example_resampling.py``) | 06:06.687 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_40_advanced_example_metrics.py` (``example_metrics.py``) | 04:39.262 | 0.0 MB |
| :ref:`sphx_glr_examples_40_advanced_example_metrics.py` (``example_metrics.py``) | 04:49.418 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_40_advanced_example_pandas_train_test.py` (``example_pandas_train_test.py``) | 02:01.664 | 0.0 MB |
| :ref:`sphx_glr_examples_40_advanced_example_calc_multiple_metrics.py` (``example_calc_multiple_metrics.py``) | 01:57.729 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_40_advanced_example_calc_multiple_metrics.py` (``example_calc_multiple_metrics.py``) | 01:56.139 | 0.0 MB |
| :ref:`sphx_glr_examples_40_advanced_example_pandas_train_test.py` (``example_pandas_train_test.py``) | 01:55.878 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_40_advanced_example_get_pipeline_components.py` (``example_get_pipeline_components.py``) | 00:29.480 | 0.0 MB |
| :ref:`sphx_glr_examples_40_advanced_example_get_pipeline_components.py` (``example_get_pipeline_components.py``) | 00:25.007 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_40_advanced_example_feature_types.py` (``example_feature_types.py``) | 00:14.154 | 0.0 MB |
| :ref:`sphx_glr_examples_40_advanced_example_feature_types.py` (``example_feature_types.py``) | 00:13.549 | 0.0 MB |
+------------------------------------------------------------------------------------------------------------------+-----------+--------+
Original file line number Diff line number Diff line change
Expand Up @@ -301,16 +301,16 @@ Start Auto-sklearn
.. code-block:: none
auto-sklearn results:
Dataset name: f2fc4407-76e4-11eb-8a42-000d3a9fdd57
Dataset name: 7abf7056-76e5-11eb-8a4c-000d3a18df1e
Metric: accuracy
Best validation score: 0.978723
Number of target algorithm runs: 13
Number of successful target algorithm runs: 13
Number of target algorithm runs: 11
Number of successful target algorithm runs: 9
Number of crashed target algorithm runs: 0
Number of target algorithms that exceeded the time limit: 0
Number of target algorithms that exceeded the time limit: 2
Number of target algorithms that exceeded the memory limit: 0
Accuracy score 0.9440559440559441
Accuracy score 0.951048951048951
Expand Down Expand Up @@ -342,7 +342,7 @@ line.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 38.542 seconds)
**Total running time of the script:** ( 0 minutes 40.713 seconds)


.. _sphx_glr_download_examples_60_search_example_parallel_manual_spawning_cli.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ which means that it is automatically stopped once all computation is done.

.. code-block:: none
[ERROR] [2021-02-24 21:12:52,219:asyncio] _GatheringFuture exception was never retrieved
[ERROR] [2021-02-24 21:16:42,113:asyncio] _GatheringFuture exception was never retrieved
future: <_GatheringFuture finished exception=CancelledError()>
asyncio.exceptions.CancelledError
auto-sklearn results:
Dataset name: 09778260-76e5-11eb-8a42-000d3a9fdd57
Dataset name: 9281355a-76e5-11eb-8a4c-000d3a18df1e
Metric: accuracy
Best validation score: 0.978723
Number of target algorithm runs: 14
Expand All @@ -231,7 +231,7 @@ which means that it is automatically stopped once all computation is done.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 0 minutes 46.828 seconds)
**Total running time of the script:** ( 0 minutes 46.835 seconds)


.. _sphx_glr_download_examples_60_search_example_parallel_manual_spawning_python.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ To use ``n_jobs_`` we must guard the code
Dataset name: breast_cancer
Metric: accuracy
Best validation score: 0.992908
Number of target algorithm runs: 49
Number of successful target algorithm runs: 46
Number of target algorithm runs: 43
Number of successful target algorithm runs: 39
Number of crashed target algorithm runs: 1
Number of target algorithms that exceeded the time limit: 2
Number of target algorithms that exceeded the time limit: 3
Number of target algorithms that exceeded the memory limit: 0
Expand All @@ -127,7 +127,7 @@ To use ``n_jobs_`` we must guard the code
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 2 minutes 4.370 seconds)
**Total running time of the script:** ( 2 minutes 7.258 seconds)


.. _sphx_glr_download_examples_60_search_example_parallel_n_jobs.py:
Expand Down
Loading

0 comments on commit 2c7a444

Please sign in to comment.