mtuq_cmaesA set of plug-in classes and functions to apply the Covariance matrix adaptation evolution strategy (CMA-ES) optimization method in MTUQ.
--
Status: This repo is in a work-in-progress, and approaching completion. There might be some bugs and issues that need to be resolved. Please feel free to open an issue if you encounter any problems. Please check back soon for the final version.
As this repository is intended to be used as a plug-in for MTUQ, it is required to have it installed first. The installation instructions for the latest version of MTUQ can be found here. We recommend using conda / mamba to manage your environment for MTUQ.
Once MTUQ is installed, the following steps can be followed to install the plug-in:
-
Clone this repository:
git clone https://github.com/thurinj/mtuq_cmaes.git cd mtuq_cmaes
-
Activate the environment in which MTUQ is installed:
conda activate your_mtuq_env
-
Install the plug-in:
pip install .
After installation, mtuq_cmaes can be imported and used as part of your MTUQ workflows. Refer to the example scripts provided in the mtuq_cmaes/examples/
directory for a hands-on working script, based on MTUQ default examples.
Contributions to this repository are welcome! If you would like to contribute, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them with clear and concise messages.
- Push your changes to your forked repository.
- Submit a pull request to the main repository.
Please ensure that your code adheres to the existing style and includes appropriate tests.
If you encounter any issues, have questions, or want to suggest improvements, please do not hesitate to open an issue.
This repository is licensed under the BSD 3-Clause License. See the LICENSE file for more information.