Irace (Iterated Race) is an autoconfiguration tool that focuses on tuning the parameters of optimization algorithms. It employs a racing mechanism to iteratively select the best configurations among a set of candidate configurations based on their performance on a set of problem instances.
Please note that you need to have a working installation of R on your system. Then install the irace R package via the R console by running:
install.packages("irace", repos = "https://cloud.r-project.org")
The algorithm configuration implementation will then access irace via the python package rpy2.
For further details on Irace refer to the irace GitHub and the python implementation of irace.
.. automodule:: up_ac.Irace_configurator :members:
.. automodule:: up_ac.Irace_interface :members:
The Optano algorithm tuner (OAT) executes tuning on optimization functions using different algorithms like GGA, GGA++, JADE, and active CMA-ES. While it is able to run on a single computing node it also supports multiple workers. Before being able to use OAT first execute the following code after having installed up-ac.
up_ac.utils.download_OAT.get_OAT()
up_ac.utils.download_OAT.copy_call_engine_OAT()
The first function generates a directory for OAT, downloads compiled code for OAT and saves it in the up_ac directory. The second function moves code to the OAT directory. Once you have run these functions, you do not need to run them again, except if you have removed the OAT directory.
To remove the OAT directory run:
up_ac.utils.download_OAT.delete_OAT()
For more details on OAT refer to the documentation.
.. automodule:: up_ac.OAT_configurator :members:
.. automodule:: up_ac.OAT_interface :members:
SMAC3 (Sequential Model-Based Algorithm Configuration) optimizes algorithm parameters by employing a model-based approach, specifically Bayesian Optimization, to predict the performance of different configurations. It then uses an aggressive racing mechanism to efficiently compare configurations and iteratively refine the model, directing the search towards regions of the space where better configurations are likely to be found. In the autoconfiguration Smac can also make use of instance features to improve the predictions.
For more details on SMAC refer to the SMAC3 GitHub.
.. automodule:: up_ac.Smac_configurator :members:
.. automodule:: up_ac.Smac_interface :members:
Here is an overview of the general functions and attributes used by all automated algorithm configuration tools.
These can be used to create custom automated algorithm configurators not included in this project.
.. automodule:: up_ac.configurators :members:
.. autoattribute:: up_ac.configurators :members:
.. automodule:: up_ac.AC_interface :members:
.. autoattribute:: up_ac.AC_interface :members: