CyberAgentAILab / cmaes

Python library for CMA Evolution Strategy.
https://arxiv.org/abs/2402.01373
MIT License
372 stars 65 forks source link

Allow no discrete spaces in `CMAwM` #142

Closed knshnb closed 1 year ago

knshnb commented 1 year ago

For flexible use in other libraries such as Optuna, this PR allows input of no discrete spaces for CMAwM (should behave the same as CMA in that case). Dependent on https://github.com/CyberAgentAILab/cmaes/pull/141.

c-bata commented 1 year ago

Can we add a test case to verify that CMA and CMAwM sample the same solutions when there is no discrete spaces?

Let me work on it at #143.