cmaes : A Simple yet Practical Python Library for CMA-ES

ML POA EA
2024年02月02日
CMA-ES(协方差矩阵适应进化策略)在黑盒连续优化中表现出极高的效果,其在基准问题和各种实际应用中的成功得到了证明。为了满足在该领域中需要一个易用而强大的工具的需求,我们开发了cmaes,一个简单实用的Python库,用于CMA-ES。cmaes的特点是简单易用,代码可读性高,因此适合快速使用CMA-ES,教育目的以及与其他库的无缝集成。尽管其设计简单,但cmaes仍然具有增强的功能。它包括CMA-ES的最新进展,例如用于挑战性场景的学习率适应、迁移学习和混合整数优化能力。这些高级功能通过用户友好的API实现,确保cmaes可以轻松地应用于实际应用中。我们认为cmaes是从实践者角度来看Python CMA-ES库的首选。该软件在MIT许可下提供,可在https://github.com/CyberAgentAILab/cmaes上获取。
The covariance matrix adaptation evolution strategy (CMA-ES) has been highly effective in black-box continuous optimization, as demonstrated by its success in both benchmark problems and various real-world applications. To address the need for an accessible yet potent tool in this domain, we developed cmaes, a simple and practical Python library for CMA-ES. cmaes is characterized by its simplicity, offering intuitive use and high code readability. This makes it suitable for quickly using CMA-ES, as well as for educational purposes and seamless integration into other libraries. Despite its simplistic design, cmaes maintains enhanced functionality. It incorporates recent advancements in CMA-ES, such as learning rate adaptation for challenging scenarios, transfer learning, and mixed-integer optimization capabilities. These advanced features are accessible through a user-friendly API, ensuring that cmaes can be easily adopted in practical applications. We regard cmaes as the first choice for a Python CMA-ES library among practitioners. The software is available under the MIT license at https://github.com/CyberAgentAILab/cmaes.
许愿