Skip to content

Releases: CyberAgentAILab/cmaes

v0.6.1

05 Sep 12:51
Compare
Choose a tag to compare

CHANGES

Bug fixes

  • Fix coordinate rotation (#77).
    • This bug leads to serious performance degradation on ill-conditioned problems.

Links

Release v0.6.0

26 Jul 16:35
a84c3e2
Compare
Choose a tag to compare

CHANGES

New features

should_stop() method which checks some termination criterion is added. You can easily implement IPOP-CMA-ES (#50) and BIPOP-CMA-ES (#54) by using this API. These algorithms performs well on multi-modal functions (See the benchmark of #58).

IPOP-CMA-ES BIPOP-CMA-ES
visualize-ipop-cmaes-himmelblau visualize-bipop-cmaes-himmelblau

Remove Optuna sampler.

Remove CMASampler(deprecated at v0.4.0) and monkeypatch (deprecated at v0.5.0) for Optuna.

Please use Optuna's official CMA-ES sampler which will be stabled at v2.0.0. You can quickly migrated to Optuna's official sampler by replacing your imports with optuna.samplers.CmaEsSampler(). See the documentation for details.

Deprecate cmaes.cma module.

cmaes.cma module is now deprecated. Please import CMA class from the package root (#46).

from cmaes.cma import CMA  # Deprecated!from cmaes import CMA  # Do this!

Link

Release v0.5.1

22 Jun 06:05
Compare
Choose a tag to compare

CHANGES

Bug fixes

Links

Release v0.5.0

22 Apr 10:33
Compare
Choose a tag to compare

CHANGES

Bug fixes

  • Fix numerical overflow errors (#31)

Optuna's sampler interface

  • Deprecate patch_fast_itersection_search_space (#28)
  • Use suggest_float() APIs (#25)

Links

Release v0.4.0

06 Apr 03:31
Compare
Choose a tag to compare

CHANGES

CMASampler is deprecated because it is ported to optuna.samplers.CmaEsSampler from Optuna v1.3.0.

optuna.samplers.CmaEsSampler is about 2-times slower than CMASampler. If you want to make it faster, please call cmaes.monkeypatch.patch_fast_intersection_search_space() before running study.optimize().

New features

  • Monkeypatch for faster intersection search space (#20)
  • Support step argument on IntUniformDistribution (#21)

API Changes

  • Deprecate CMASampler (#22)

Bug fixes

  • Fix scale of log uniform distribution of CMASampler (#16)

Release v0.3.2

12 Mar 12:48
Compare
Choose a tag to compare

PyPI: https://pypi.org/project/cmaes/0.3.2/

CHANGES

API changes

  • CMA provides dim property method for the number of dimensions.
  • CMA provides set_bounds method to update boundary constraints.

Bug fixes

  • Disable when search_space is changed.

Release v0.3.1

18 Feb 17:03
Compare
Choose a tag to compare

PyPI: https://pypi.org/project/cmaes/0.3.1/

CHANGES

Improvements

  • Python 3.5 support.
  • Add docstring.

Release v0.3.0

12 Feb 08:12
Compare
Choose a tag to compare

CHANGES

PyPI: https://pypi.org/project/cmaes/0.3.0/

Improvements

  • Reduce memory usage.
  • Repair infeasible parameters when exceeds a resampling limit.

Bug fixes

  • Fixed a bug when using RDB storage.
  • Fixed an arithmetic overflow of the covariance matrix.

Release v0.2.0

31 Jan 06:31
Compare
Choose a tag to compare
Ask and tell x instead of z