Skip to content

Commit

Permalink
benjamc: Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Github Actions committed Jul 24, 2024
1 parent 4921b9b commit 654f0c8
Show file tree
Hide file tree
Showing 144 changed files with 308 additions and 316 deletions.
Binary file modified development/.doctrees/environment.pickle
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/examples/1_basics/2_svm_cv.doctree
Binary file not shown.
Binary file modified development/.doctrees/examples/1_basics/3_ask_and_tell.doctree
Binary file not shown.
Binary file modified development/.doctrees/examples/1_basics/4_callback.doctree
Binary file not shown.
Binary file modified development/.doctrees/examples/1_basics/5_continue.doctree
Binary file not shown.
Binary file modified development/.doctrees/examples/1_basics/6_priors.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/examples/3_multi_objective/2_parego.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified development/.doctrees/sg_execution_times.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified development/_images/sphx_glr_1_mlp_epochs_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_1_mlp_epochs_thumb.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_2_parego_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_2_parego_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion development/_modules/smac/intensifier/hyperband_utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ <h1>Source code for smac.intensifier.hyperband_utils</h1><div class="highlight">
<span class="sd"> Parameters</span>
<span class="sd"> ----------</span>
<span class="sd"> total_budget : float</span>
<span class="sd"> Total budget for the complete optimization in fidelity units. </span>
<span class="sd"> Total budget for the complete optimization in fidelity units.</span>
<span class="sd"> A fidelity unit can be one epoch or a fraction of a dataset size.</span>
<span class="sd"> min_budget : float</span>
<span class="sd"> Minimum budget per trial in fidelity units</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ be applied to problems with large evaluation budgets (up to 1000 evaluations).
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 4.350 seconds)
**Total running time of the script:** (0 minutes 4.314 seconds)


.. _sphx_glr_download_examples_1_basics_1_quadratic_function.py:
Expand Down
2 changes: 1 addition & 1 deletion development/_sources/examples/1_basics/2_svm_cv.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ types as well as conditional hyperparameters.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 2.916 seconds)
**Total running time of the script:** (0 minutes 2.964 seconds)


.. _sphx_glr_download_examples_1_basics_2_svm_cv.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ This examples show how to use the Ask-and-Tell interface.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 3.920 seconds)
**Total running time of the script:** (0 minutes 3.973 seconds)


.. _sphx_glr_download_examples_1_basics_3_ask_and_tell.py:
Expand Down
2 changes: 1 addition & 1 deletion development/_sources/examples/1_basics/4_callback.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Furthermore, we print some stages of the optimization process.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 0.160 seconds)
**Total running time of the script:** (0 minutes 0.162 seconds)


.. _sphx_glr_download_examples_1_basics_4_callback.py:
Expand Down
2 changes: 1 addition & 1 deletion development/_sources/examples/1_basics/5_continue.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ there already is a previous run with the same meta data, this run will be contin
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 1.542 seconds)
**Total running time of the script:** (0 minutes 1.557 seconds)


.. _sphx_glr_download_examples_1_basics_5_continue.py:
Expand Down
2 changes: 1 addition & 1 deletion development/_sources/examples/1_basics/6_priors.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ optimization, you have to change the acquisition function to ``PriorAcquisitionF
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 40.320 seconds)
**Total running time of the script:** (0 minutes 40.440 seconds)


.. _sphx_glr_download_examples_1_basics_6_priors.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**00:53.207** total execution time for 6 files **from examples/1_basics**:
**00:53.410** total execution time for 6 files **from examples/1_basics**:

.. container::

Expand All @@ -33,20 +33,20 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_examples_1_basics_6_priors.py` (``6_priors.py``)
- 00:40.320
- 00:40.440
- 0.0
* - :ref:`sphx_glr_examples_1_basics_1_quadratic_function.py` (``1_quadratic_function.py``)
- 00:04.350
- 00:04.314
- 0.0
* - :ref:`sphx_glr_examples_1_basics_3_ask_and_tell.py` (``3_ask_and_tell.py``)
- 00:03.920
- 00:03.973
- 0.0
* - :ref:`sphx_glr_examples_1_basics_2_svm_cv.py` (``2_svm_cv.py``)
- 00:02.916
- 00:02.964
- 0.0
* - :ref:`sphx_glr_examples_1_basics_5_continue.py` (``5_continue.py``)
- 00:01.542
- 00:01.557
- 0.0
* - :ref:`sphx_glr_examples_1_basics_4_callback.py` (``4_callback.py``)
- 00:00.160
- 00:00.162
- 0.0
27 changes: 15 additions & 12 deletions development/_sources/examples/2_multi_fidelity/1_mlp_epochs.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ is chosen to optimize the average accuracy on 5-fold cross validation.
[INFO][smbo.py:320] Finished 0 trials.
[INFO][smbo.py:320] Finished 100 trials.
[INFO][smbo.py:328] Configuration budget is exhausted:
[INFO][smbo.py:329] --- Remaining wallclock time: -1.9044876098632812
[INFO][smbo.py:329] --- Remaining wallclock time: -3.129246950149536
[INFO][smbo.py:330] --- Remaining cpu time: inf
[INFO][smbo.py:331] --- Remaining trials: 175
Default cost (SuccessiveHalving): 0.36672856700711853
Expand All @@ -77,7 +77,7 @@ is chosen to optimize the average accuracy on 5-fold cross validation.
[INFO][abstract_facade.py:203] Workers are reduced to 8.
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/distributed/node.py:182: UserWarning: Port 8787 is already in use.
Perhaps you already have a cluster running?
Hosting the HTTP server on port 34445 instead
Hosting the HTTP server on port 34603 instead
warnings.warn(
[INFO][abstract_initial_design.py:147] Using 5 initial design configurations and 0 additional configurations.
[INFO][successive_halving.py:164] Successive Halving uses budget type BUDGETS with eta 3, min budget 1, and max budget 25.
Expand All @@ -97,19 +97,22 @@ is chosen to optimize the average accuracy on 5-fold cross validation.
[INFO][smbo.py:320] Finished 0 trials.
[INFO][smbo.py:320] Finished 0 trials.
[INFO][smbo.py:320] Finished 0 trials.
[INFO][abstract_intensifier.py:516] Added config 9e6d39 as new incumbent because there are no incumbents yet.
[INFO][abstract_intensifier.py:595] Added config 6ad6db and rejected config 9e6d39 as incumbent because it is not better than the incumbents on 1 instances:
[INFO][abstract_intensifier.py:595] Added config cdc037 and rejected config 6ad6db as incumbent because it is not better than the incumbents on 1 instances:
[INFO][abstract_intensifier.py:595] Added config 3cd835 and rejected config cdc037 as incumbent because it is not better than the incumbents on 1 instances:
[INFO][abstract_intensifier.py:516] Added config 6ad6db as new incumbent because there are no incumbents yet.
[INFO][abstract_intensifier.py:595] Added config 0c2495 and rejected config 6ad6db as incumbent because it is not better than the incumbents on 1 instances:
[INFO][smbo.py:320] Finished 50 trials.
[INFO][abstract_intensifier.py:595] Added config dccff4 and rejected config 0c2495 as incumbent because it is not better than the incumbents on 1 instances:
[INFO][abstract_intensifier.py:595] Added config c86384 and rejected config dccff4 as incumbent because it is not better than the incumbents on 1 instances:
[INFO][smbo.py:320] Finished 100 trials.
[INFO][abstract_intensifier.py:595] Added config 219cf8 and rejected config 3cd835 as incumbent because it is not better than the incumbents on 1 instances:
[INFO][abstract_intensifier.py:595] Added config 62b8d8 and rejected config 219cf8 as incumbent because it is not better than the incumbents on 1 instances:
[INFO][abstract_intensifier.py:595] Added config 477710 and rejected config c86384 as incumbent because it is not better than the incumbents on 1 instances:
[INFO][smbo.py:320] Finished 150 trials.
[INFO][smbo.py:320] Finished 150 trials.
[INFO][smbo.py:320] Finished 150 trials.
[INFO][smbo.py:328] Configuration budget is exhausted:
[INFO][smbo.py:329] --- Remaining wallclock time: -0.4082348346710205
[INFO][smbo.py:329] --- Remaining wallclock time: -0.26172947883605957
[INFO][smbo.py:330] --- Remaining cpu time: inf
[INFO][smbo.py:331] --- Remaining trials: 200
[INFO][smbo.py:331] --- Remaining trials: 193
Default cost (Hyperband): 0.36672856700711853
Incumbent cost (Hyperband): 0.021708449396471652
Incumbent cost (Hyperband): 0.02504797276385029
Expand Down Expand Up @@ -288,7 +291,7 @@ is chosen to optimize the average accuracy on 5-fold cross validation.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (2 minutes 12.901 seconds)
**Total running time of the script:** (2 minutes 11.329 seconds)


.. _sphx_glr_download_examples_2_multi_fidelity_1_mlp_epochs.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,12 @@ the target function now is required to have an instance argument.
[INFO][abstract_intensifier.py:595] Added config 8ce35d and rejected config 2b0dc0 as incumbent because it is not better than the incumbents on 45 instances:
[INFO][smbo.py:320] Finished 400 trials.
[INFO][abstract_intensifier.py:595] Added config 25625b and rejected config 8ce35d as incumbent because it is not better than the incumbents on 45 instances:
[INFO][abstract_intensifier.py:595] Added config 2cdaac and rejected config 25625b as incumbent because it is not better than the incumbents on 45 instances:
[INFO][smbo.py:320] Finished 450 trials.
[INFO][smbo.py:328] Configuration budget is exhausted:
[INFO][smbo.py:329] --- Remaining wallclock time: -0.02947235107421875
[INFO][smbo.py:329] --- Remaining wallclock time: -0.052812814712524414
[INFO][smbo.py:330] --- Remaining cpu time: inf
[INFO][smbo.py:331] --- Remaining trials: 4548
[INFO][smbo.py:331] --- Remaining trials: 4562
Default cost: 0.15489347419148672
Incumbent cost: 0.00426383387912454
Incumbent cost: 0.004324883940174601
Expand Down Expand Up @@ -213,7 +211,7 @@ the target function now is required to have an instance argument.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 34.185 seconds)
**Total running time of the script:** (0 minutes 34.313 seconds)


.. _sphx_glr_download_examples_2_multi_fidelity_2_sgd_datasets.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ in terms of the fidelity units and let SMAC calculate how many trials that would
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 7.971 seconds)
**Total running time of the script:** (0 minutes 8.187 seconds)


.. _sphx_glr_download_examples_2_multi_fidelity_3_specify_HB_via_total_budget.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**02:55.056** total execution time for 3 files **from examples/2_multi_fidelity**:
**02:53.830** total execution time for 3 files **from examples/2_multi_fidelity**:

.. container::

Expand All @@ -33,11 +33,11 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_examples_2_multi_fidelity_1_mlp_epochs.py` (``1_mlp_epochs.py``)
- 02:12.901
- 02:11.329
- 0.0
* - :ref:`sphx_glr_examples_2_multi_fidelity_2_sgd_datasets.py` (``2_sgd_datasets.py``)
- 00:34.185
- 00:34.313
- 0.0
* - :ref:`sphx_glr_examples_2_multi_fidelity_3_specify_HB_via_total_budget.py` (``3_specify_HB_via_total_budget.py``)
- 00:07.971
- 00:08.187
- 0.0
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ SMAC prioritizes the second objective over the first one.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 8.376 seconds)
**Total running time of the script:** (0 minutes 8.564 seconds)


.. _sphx_glr_download_examples_3_multi_objective_1_schaffer.py:
Expand Down
41 changes: 19 additions & 22 deletions development/_sources/examples/3_multi_objective/2_parego.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,29 @@ mean accuracy and run-time of each configuration.
[INFO][abstract_intensifier.py:516] Added config 71813f as new incumbent because there are no incumbents yet.
[INFO][abstract_intensifier.py:603] Config bb3711 is a new incumbent. Total number of incumbents: 2.
[INFO][abstract_intensifier.py:603] Config f07b8c is a new incumbent. Total number of incumbents: 3.
[INFO][abstract_intensifier.py:603] Config 95a203 is a new incumbent. Total number of incumbents: 4.
[INFO][abstract_intensifier.py:603] Config 80557c is a new incumbent. Total number of incumbents: 5.
[INFO][abstract_intensifier.py:595] Added config 36c92e and rejected config bb3711 as incumbent because it is not better than the incumbents on 2 instances:
[INFO][abstract_intensifier.py:603] Config aa86b7 is a new incumbent. Total number of incumbents: 6.
[INFO][abstract_intensifier.py:603] Config 7d9a98 is a new incumbent. Total number of incumbents: 7.
[INFO][abstract_intensifier.py:603] Config d89b95 is a new incumbent. Total number of incumbents: 8.
[INFO][abstract_intensifier.py:603] Config ccf63f is a new incumbent. Total number of incumbents: 6.
[INFO][abstract_intensifier.py:595] Added config 222818 and rejected config f07b8c as incumbent because it is not better than the incumbents on 2 instances:
[INFO][abstract_intensifier.py:603] Config 8b275f is a new incumbent. Total number of incumbents: 7.
[INFO][abstract_intensifier.py:603] Config e9d564 is a new incumbent. Total number of incumbents: 8.
[INFO][abstract_intensifier.py:603] Config 3305c3 is a new incumbent. Total number of incumbents: 4.
[INFO][abstract_intensifier.py:595] Added config eb4c80 and rejected config f07b8c as incumbent because it is not better than the incumbents on 2 instances:
[INFO][abstract_intensifier.py:603] Config 6dbe72 is a new incumbent. Total number of incumbents: 4.
[INFO][abstract_intensifier.py:603] Config a87be2 is a new incumbent. Total number of incumbents: 5.
[INFO][abstract_intensifier.py:603] Config d2489b is a new incumbent. Total number of incumbents: 6.
[INFO][abstract_intensifier.py:595] Added config 975751 and rejected config 6dbe72 as incumbent because it is not better than the incumbents on 2 instances:
[INFO][abstract_intensifier.py:603] Config 6f35cb is a new incumbent. Total number of incumbents: 7.
[INFO][abstract_intensifier.py:603] Config 077bf0 is a new incumbent. Total number of incumbents: 8.
[INFO][abstract_intensifier.py:603] Config adbca6 is a new incumbent. Total number of incumbents: 9.
[INFO][abstract_intensifier.py:595] Added config c17be3 and rejected config 6f35cb as incumbent because it is not better than the incumbents on 2 instances:
[INFO][smbo.py:328] Configuration budget is exhausted:
[INFO][smbo.py:329] --- Remaining wallclock time: -0.27748966217041016
[INFO][smbo.py:329] --- Remaining wallclock time: -4.571095943450928
[INFO][smbo.py:330] --- Remaining cpu time: inf
[INFO][smbo.py:331] --- Remaining trials: 161
[INFO][smbo.py:331] --- Remaining trials: 156
Validated costs from default config:
--- [0.60155834 0.15619719]
--- [0.60155834 0.20700514]
Validated costs from the Pareto front (incumbents):
--- [0.72761606 0.20274138]
--- [0.02059347 1.18049824]
--- [0.04340839 0.62349308]
--- [0.02755262 0.80113173]
--- [0.02754643 0.90485442]
--- [0.13718121 0.37516415]
--- [0.4173584 0.27367198]
--- [0.29910012 0.31260347]
--- [0.72761606 0.19994843]
--- [0.05092309 0.75338209]
--- [0.06706128 0.38245475]
--- [0.07680594 0.37944508]
--- [0.08571108 0.26065671]
Expand Down Expand Up @@ -253,7 +250,7 @@ mean accuracy and run-time of each configuration.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 40.113 seconds)
**Total running time of the script:** (0 minutes 39.104 seconds)


.. _sphx_glr_download_examples_3_multi_objective_2_parego.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**00:48.489** total execution time for 2 files **from examples/3_multi_objective**:
**00:47.668** total execution time for 2 files **from examples/3_multi_objective**:

.. container::

Expand All @@ -33,8 +33,8 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_examples_3_multi_objective_2_parego.py` (``2_parego.py``)
- 00:40.113
- 00:39.104
- 0.0
* - :ref:`sphx_glr_examples_3_multi_objective_1_schaffer.py` (``1_schaffer.py``)
- 00:08.376
- 00:08.564
- 0.0
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ This simple example shows how to call a script with the following content:
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 19.772 seconds)
**Total running time of the script:** (0 minutes 20.194 seconds)


.. _sphx_glr_download_examples_5_commandline_1_call_target_function_script.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**00:19.772** total execution time for 1 file **from examples/5_commandline**:
**00:20.194** total execution time for 1 file **from examples/5_commandline**:

.. container::

Expand All @@ -33,5 +33,5 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_examples_5_commandline_1_call_target_function_script.py` (``1_call_target_function_script.py``)
- 00:19.772
- 00:20.194
- 0.0
26 changes: 13 additions & 13 deletions development/_sources/sg_execution_times.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Computation times
=================
**04:56.524** total execution time for 12 files **from all galleries**:
**04:55.102** total execution time for 12 files **from all galleries**:

.. container::

Expand All @@ -33,38 +33,38 @@ Computation times
- Time
- Mem (MB)
* - :ref:`sphx_glr_examples_2_multi_fidelity_1_mlp_epochs.py` (``../examples/2_multi_fidelity/1_mlp_epochs.py``)
- 02:12.901
- 02:11.329
- 0.0
* - :ref:`sphx_glr_examples_1_basics_6_priors.py` (``../examples/1_basics/6_priors.py``)
- 00:40.320
- 00:40.440
- 0.0
* - :ref:`sphx_glr_examples_3_multi_objective_2_parego.py` (``../examples/3_multi_objective/2_parego.py``)
- 00:40.113
- 00:39.104
- 0.0
* - :ref:`sphx_glr_examples_2_multi_fidelity_2_sgd_datasets.py` (``../examples/2_multi_fidelity/2_sgd_datasets.py``)
- 00:34.185
- 00:34.313
- 0.0
* - :ref:`sphx_glr_examples_5_commandline_1_call_target_function_script.py` (``../examples/5_commandline/1_call_target_function_script.py``)
- 00:19.772
- 00:20.194
- 0.0
* - :ref:`sphx_glr_examples_3_multi_objective_1_schaffer.py` (``../examples/3_multi_objective/1_schaffer.py``)
- 00:08.376
- 00:08.564
- 0.0
* - :ref:`sphx_glr_examples_2_multi_fidelity_3_specify_HB_via_total_budget.py` (``../examples/2_multi_fidelity/3_specify_HB_via_total_budget.py``)
- 00:07.971
- 00:08.187
- 0.0
* - :ref:`sphx_glr_examples_1_basics_1_quadratic_function.py` (``../examples/1_basics/1_quadratic_function.py``)
- 00:04.350
- 00:04.314
- 0.0
* - :ref:`sphx_glr_examples_1_basics_3_ask_and_tell.py` (``../examples/1_basics/3_ask_and_tell.py``)
- 00:03.920
- 00:03.973
- 0.0
* - :ref:`sphx_glr_examples_1_basics_2_svm_cv.py` (``../examples/1_basics/2_svm_cv.py``)
- 00:02.916
- 00:02.964
- 0.0
* - :ref:`sphx_glr_examples_1_basics_5_continue.py` (``../examples/1_basics/5_continue.py``)
- 00:01.542
- 00:01.557
- 0.0
* - :ref:`sphx_glr_examples_1_basics_4_callback.py` (``../examples/1_basics/4_callback.py``)
- 00:00.160
- 00:00.162
- 0.0
Loading

0 comments on commit 654f0c8

Please sign in to comment.