craceplot 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. craceplot/__init__.py +60 -0
  2. craceplot/_containers/__init__.py +0 -0
  3. craceplot/_containers/_core.py +1602 -0
  4. craceplot/_containers/_draw.py +104 -0
  5. craceplot/_inst/examples/acotsp/crace-3240078.stdout +838 -0
  6. craceplot/_inst/examples/acotsp/crace.stderr +8 -0
  7. craceplot/_inst/examples/acotsp/crace.test +216 -0
  8. craceplot/_inst/examples/acotsp/crace.train +622 -0
  9. craceplot/_inst/examples/cats200/crace-2814581.stdout +1665 -0
  10. craceplot/_inst/examples/cats200/crace.stderr +10 -0
  11. craceplot/_inst/examples/cats200/crace.test +1010 -0
  12. craceplot/_inst/examples/cats200/crace.train +655 -0
  13. craceplot/_plots/__init__.py +8 -0
  14. craceplot/_plots/_core.py +80 -0
  15. craceplot/_plots/parameters.py +1805 -0
  16. craceplot/_plots/quality.py +1406 -0
  17. craceplot/_scripts/__init__.py +4 -0
  18. craceplot/_scripts/_main.py +132 -0
  19. craceplot/_scripts/_utils.py +66 -0
  20. craceplot/_scripts/main +3 -0
  21. craceplot/_scripts/open_guide +12 -0
  22. craceplot/_settings/_description.py +168 -0
  23. craceplot/_settings/_options.json +299 -0
  24. craceplot/_utils/__init__.py +0 -0
  25. craceplot/_utils/_base.py +196 -0
  26. craceplot/_utils/_const.py +8 -0
  27. craceplot/_utils/_crace.py +42 -0
  28. craceplot/_utils/_format.py +191 -0
  29. craceplot/_vergit.py +2 -0
  30. craceplot/_version.py +24 -0
  31. craceplot/_vignettes/guide.ipynb +18943 -0
  32. craceplot-0.1.0.dist-info/METADATA +369 -0
  33. craceplot-0.1.0.dist-info/RECORD +61 -0
  34. craceplot-0.1.0.dist-info/WHEEL +5 -0
  35. craceplot-0.1.0.dist-info/entry_points.txt +2 -0
  36. craceplot-0.1.0.dist-info/licenses/LICENSE.md +21 -0
  37. craceplot-0.1.0.dist-info/top_level.txt +2 -0
  38. docs/_config.yml +51 -0
  39. docs/_static/css/custom.css +168 -0
  40. docs/_static/js/navbar.js +40 -0
  41. docs/_toc.yml +5 -0
  42. docs/index.md +4 -0
  43. docs/references/404.md +14 -0
  44. docs/references/authors.md +46 -0
  45. docs/references/citiation.bib +17 -0
  46. docs/references/functions/index.md +5 -0
  47. docs/references/functions/param_boxplot.ipynb +19 -0
  48. docs/references/index.md +44 -0
  49. docs/references/license.md +21 -0
  50. docs/references/others/favicon.ico +0 -0
  51. docs/references/others/favicon_io/about.txt +6 -0
  52. docs/references/others/favicon_io/android-chrome-192x192.png +0 -0
  53. docs/references/others/favicon_io/android-chrome-512x512.png +0 -0
  54. docs/references/others/favicon_io/apple-touch-icon.png +0 -0
  55. docs/references/others/favicon_io/favicon-16x16.png +0 -0
  56. docs/references/others/favicon_io/favicon-32x32.png +0 -0
  57. docs/references/others/favicon_io/site.webmanifest +1 -0
  58. docs/references/others/logo.png +0 -0
  59. docs/references/others/logo1.png +0 -0
  60. docs/references/plots/acotsp-parallelcoord-all.png +0 -0
  61. docs/requirements.txt +5 -0
@@ -0,0 +1,40 @@
1
+ // document.addEventListener("DOMContentLoaded", function () {
2
+
3
+ // const nav = document.getElementById("top_nav");
4
+ // if (!nav) return;
5
+
6
+ // let lastScroll = 0;
7
+
8
+ // window.addEventListener("scroll", () => {
9
+ // const currentScroll = window.pageYOffset;
10
+
11
+ // if (currentScroll <= 0) {
12
+ // nav.style.transform = "translateY(0)";
13
+ // return;
14
+ // }
15
+
16
+ // if (currentScroll > lastScroll) {
17
+ // nav.style.transform = "translateY(-100%)";
18
+ // } else {
19
+ // nav.style.transform = "translateY(0)";
20
+ // }
21
+
22
+ // lastScroll = currentScroll;
23
+ // });
24
+
25
+ // });
26
+
27
+ function updateThemeColor(mode) {
28
+ let meta = document.querySelector('meta[name="theme-color"]');
29
+ if (!meta) {
30
+ meta = document.createElement('meta');
31
+ meta.name = "theme-color";
32
+ document.head.appendChild(meta);
33
+ }
34
+
35
+ meta.content = "#2c2c30";
36
+ }
37
+
38
+ document.addEventListener("DOMContentLoaded", function () {
39
+ updateThemeColor(document.documentElement.dataset.mode);
40
+ });
docs/_toc.yml ADDED
@@ -0,0 +1,5 @@
1
+ format: jb-book
2
+ root: index
3
+ chapters:
4
+ - file: references/index
5
+ - file: history/changelog
docs/index.md ADDED
@@ -0,0 +1,4 @@
1
+ ```{include} ../README.md
2
+ :relative-docs: docs/
3
+ :relative-images: true
4
+ ```
docs/references/404.md ADDED
@@ -0,0 +1,14 @@
1
+ <!-- Content not found. Please use links in the navbar.
2
+
3
+ # Page not found (404) -->
4
+
5
+ ---
6
+ title: Page not found
7
+ ---
8
+
9
+ # 404
10
+
11
+ The page you requested does not exist.
12
+
13
+ - Return to the homepage.
14
+ - Use the search bar.
@@ -0,0 +1,46 @@
1
+ # Authors and Citation
2
+
3
+ ## Authors
4
+ - **Yunshuang Xiao**. Author, maintainer. [![ORCID][orcid-icon]](https://orcid.org/0009-0003-6752-8627)
5
+
6
+
7
+ ## Citation
8
+
9
+ Source:
10
+ [`CITIATION`](./citiation.bib)
11
+
12
+ - Yunshuang Xiao, Leslie Pérez Cáceres, Manuel López-Ibáñez, and Thomas Stützle.
13
+ **Algorithm Configuration via Continuously Racing: Preliminary Results**(
14
+ https://doi.org/10.1145/3583133.3596408). *In Proceedings
15
+ of the Companion Conference on Genetic and Evolutionary Computation (GECCO '23 Companion
16
+ )*. Association for Computing Machinery, New York, NY, USA, 1744–1752.
17
+ doi: 10.1145/3583133.3596408
18
+
19
+ @inproceedings{10.1145/3583133.3596408,
20
+ title = {Algorithm Configuration via Continuously Racing: Preliminary Results},
21
+ author = {Xiao, Yunshuang and Pérez Cáceres, Leslie and López-Ibáñez, Manuel and Stützle, Thomas},
22
+ booktitle = {Proceedings of the Companion Conference on Genetic and Evolutionary Computation},
23
+ pages = {1744-1752},
24
+ year = {2023},
25
+ }
26
+
27
+
28
+ - Manuel López-Ibáñez, Jérémie Dubois-Lacoste, Leslie Pérez Cáceres,
29
+ Thomas Stützle, and Mauro Birattari. **The irace package: Iterated
30
+ Racing for Automatic Algorithm
31
+ Configuration.**(http://dx.doi.org/10.1016/j.orp.2016.09.002)
32
+ *Operations Research Perspectives*, 2016. doi:
33
+ 10.1016/j.orp.2016.09.002
34
+
35
+ @Article{,
36
+ title = {The irace package: Iterated Racing for Automatic Algorithm Configuration},
37
+ author = {Manuel López-Ibáñez and Jérémie Dubois-Lacoste and Leslie {Pérez Cáceres} and Thomas Stützle and Mauro Birattari},
38
+ year = {2016},
39
+ journal = {Operations Research Perspectives},
40
+ doi = {10.1016/j.orp.2016.09.002},
41
+ volume = {3},
42
+ pages = {43--58},
43
+ }
44
+
45
+
46
+ [orcid-icon]: https://orcid.org/sites/default/files/images/orcid_16x16.png
@@ -0,0 +1,17 @@
1
+ @inproceedings{10.1145/3583133.3596408,
2
+ author = {Xiao, Yunshuang and P\'{e}rez C\'{a}ceres, Leslie and L\'{o}pez-Ib\'{a}\~{n}ez, Manuel and St\"{u}tzle, Thomas},
3
+ title = {Algorithm Configuration via Continuously Racing: Preliminary Results},
4
+ year = {2023},
5
+ isbn = {9798400701207},
6
+ publisher = {Association for Computing Machinery},
7
+ address = {New York, NY, USA},
8
+ url = {https://doi.org/10.1145/3583133.3596408},
9
+ doi = {10.1145/3583133.3596408},
10
+ abstract = {Automatic algorithm configuration procedures aim at supporting the design and application of optimization algorithms by providing specialized tools to automatically adjust their parameters to use the available computational resources effectively. The irace configurator is a state-of-the-art method implementing an iterated racing procedure that, in its current implementation, allows parallel executions of the target algorithm. Parallel evaluation is crucial for the efficient use of computational resources, reducing the wall-clock time that the configuration process needs to find a good configuration. In this work, we propose an alternative to irace that performs a single race instead of iterative races. The continuously racing configurator (crace) evaluates, removes and generates new configurations asynchronously, granting a high level of flexibility regarding the configuration process when compared to the previous iterative scheme. In this paper, we provide a general description of the crace configuration procedure and perform initial exploratory experiments on five configuration scenarios. These experiments focus on evaluating the effect of the minimum number of configurations required to be involved in the race and the number of parallel evaluations. The first results are encouraging, showing that crace can be a competitive procedure on the scenarios evaluated.},
11
+ booktitle = {Proceedings of the Companion Conference on Genetic and Evolutionary Computation},
12
+ pages = {1744–1752},
13
+ numpages = {9},
14
+ keywords = {racing methods, automated algorithm design, automated algorithm configuration},
15
+ location = {Lisbon, Portugal},
16
+ series = {GECCO '23 Companion}
17
+ }
@@ -0,0 +1,5 @@
1
+ # All functions
2
+
3
+ | function | description |
4
+ |---|---|
5
+ |[param_boxplot( )](./param_boxplot.ipynb)|Boxplot for parameters of selected configurations|
@@ -0,0 +1,19 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "id": "7eb5c5f0",
6
+ "metadata": {},
7
+ "source": [
8
+ "# param_boxplot"
9
+ ]
10
+ }
11
+ ],
12
+ "metadata": {
13
+ "language_info": {
14
+ "name": "python"
15
+ }
16
+ },
17
+ "nbformat": 4,
18
+ "nbformat_minor": 5
19
+ }
@@ -0,0 +1,44 @@
1
+ References
2
+ ==========
3
+
4
+ Authors
5
+ -------
6
+
7
+ Source: [`authors and citiation`](./authors.md)
8
+
9
+ **Maintainers:** [Yunshuang Xiao](https://orcid.org/0009-0003-6752-8627)
10
+
11
+ **Authors:** [Yunshuang Xiao](https://orcid.org/0009-0003-6752-8627).
12
+
13
+ **Contact**: <race.autoconfig@gmail.com>
14
+
15
+ **Report a bug**: <https://github.com/race-autoconfig/craceplot/issues>
16
+
17
+ **Discussions**: <https://github.com/race-autoconfig/craceplot/discussions>
18
+
19
+
20
+ License
21
+ -------
22
+
23
+ Source: [`License`](./license.md)
24
+
25
+ craceplot is free software (software libre): you can redistribute it and/or
26
+ modify it under the terms of the MIT License.
27
+
28
+ This program is distributed in the hope that it will be useful, but WITHOUT
29
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
30
+ FOR A PARTICULAR PURPOSE.
31
+
32
+ **IMPORTANT NOTE:** Please be aware that the fact that this program is released
33
+ as Free Software does not excuse you from scientific propriety, which obligates
34
+ you to give appropriate credit! If you write a scientific paper describing research that
35
+ made substantive use of this program, it is your obligation as a scientist to
36
+ (a) mention the fashion in which this software was used in the Methods section;
37
+ (b) mention the algorithm in the References section.
38
+
39
+ craceplot is built as an additional tool for the crace package:
40
+ crace: Continuous Racing for Automatic Algorithm Configuration
41
+ Copyright (c) 2026 crace developers
42
+
43
+
44
+
@@ -0,0 +1,21 @@
1
+ # MIT License
2
+
3
+ Copyright (c) 2026 crace developers
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
Binary file
@@ -0,0 +1,6 @@
1
+ This favicon was generated using the following font:
2
+
3
+ - Font Title: Medula One
4
+ - Font Author: undefined
5
+ - Font Source: https://fonts.gstatic.com/s/medulaone/v19/YA9Wr0qb5kjJM6l2V0yukiEqs7GtlvY.ttf
6
+ - Font License: undefined)
@@ -0,0 +1 @@
1
+ {"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
Binary file
Binary file
docs/requirements.txt ADDED
@@ -0,0 +1,5 @@
1
+ Sphinx<7
2
+ jupyter-book==0.15.1
3
+ nbconvert==7.16.6
4
+ pydata-sphinx-theme==0.14.4
5
+ piccolo_theme==0.24.0