chore(deps): bump cmaes from 0.11.1 to 0.12.0
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(5 months ago)
(5 months ago)
(5 months ago)
by mooncitydev
dependencies python
Bumps cmaes from 0.11.1 to 0.12.0.
Release notes
Sourced from cmaes's releases.
v0.12.0
New Algorithms
CatCMA with Margin (GECCO2025) by
@​ha-manoCatCMA with Margin (CatCMAwM) is a method for mixed-variable optimization problems, simultaneously optimizing continuous, integer, and categorical variables. CatCMAwM extends CatCMA by introducing a novel integer handling mechanism, and supports arbitrary combinations of continuous, integer, and categorical variables in a unified framework.
import numpy as np from cmaes import CatCMAwMdef SphereIntCOM(x, z, c): return sum(x * x) + sum(z * z) + len(c) - sum(c[:, 0])
def SphereInt(x, z): return sum(x * x) + sum(z * z)
def SphereCOM(x, c): return sum(x * x) + len(c) - sum(c[:, 0])
def f_cont_int_cat(): # [lower_bound, upper_bound] for each continuous variable X = [[-5, 5], [-5, 5]] # possible values for each integer variable Z = [[-1, 0, 1], [-2, -1, 0, 1, 2]] # number of categories for each categorical variable C = [3, 3]
optimizer = CatCMAwM(x_space=X, z_space=Z, c_space=C)for generation in range(50):
solutions = []
for _ in range(optimizer.population_size):
sol = optimizer.ask()
value = SphereIntCOM(sol.x, sol.z, sol.c)
solutions.append((sol, value))
print(f"#{generation} {sol} evaluation: {value}")
optimizer.tell(solutions)
</tr></table>
... (truncated)
Commits
e4bbf18Merge pull request #204 from c-bata/bump-to-v0.12.061ea3f3Merge pull request #206 from c-bata/update-supported-python-ver40d3fdeUpdate supported Python versionsb61f62cMerge pull request #205 from CyberAgentAILab/update-readme-17846157Remove the image for warm starting cma-es8234df1Change the order of CMA-ES variants51d0c00Remove\<details>tags hiding variant algorithm descriptions1234130Bump up the version to v0.12.0d3590bcMerge pull request #196 from kento031/cmaes-sope992fb4Merge branch 'main' into cmaes-sop- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
| ID: | 4209697 |
| UUID: | 2699160683 |
| Node ID: | PR_kwDOOw0Wwc6g4exr |
| Host: | GitHub |
| Repository: | mooncitydev/https-github.com-freqtrade-freqtrade |
| Merge State: | Unknown |