Comments (8)
Sorry, I understand!!(sort of solutions is ascending, but the paper was descending.)
Thank you for your detailed expranation!!
from cmaes.
@nomuramasahir0
I apologize, but would it be possible to answer this question?
from cmaes.
Hi @ikalemmon ,
Thank you for the question. The change of maximization and minimization is absorbed by the utility function (u in the original paper). By fitness shaping,
- In the original xNES paper, u_i <= f(x_i) / n, as it focuses on maximization
- In our implementation, u_i <= - f(x_i) / n, as it focuses on minimization
from cmaes.
@nomuramasahir0
Thank you for your answer.
But I'm still confused...
I think the implementation of u is here
Lines 91 to 101 in 91bcaca
I can't find the change from the paper in that code...
from cmaes.
Fitness shaping replaces the function value (more concretely, f(x_i) / n in the original xNES paper, or -f(x_i) / n in our implementation) with u_i.
The original xNES paper and our implementation set u_i to the one you provided.
from cmaes.
As for the fitness shaping, for example, please see the NES tutorial slide, pp.23.
from cmaes.
@nomuramasahir0
thanks, I checked it!
Could you show me the relevant part of the code in _xnes.py?
from cmaes.
Sure!
from cmaes.
Related Issues (20)
- "Eigenvalues did not converge" error uncovered by Coverage-guided Fuzzing HOT 2
- Remove deprecated modules towards v1.0 release.
- Implement OptimizerProtocol for mypy checking.
- Need more information for the difference between a sampler and ask-and-tell. HOT 1
- Mutable mean vector HOT 2
- Scipy Dependency HOT 5
- CR-FM-NES HOT 4
- [BENCHMARK LMM-CMAES] HOT 2
- Box constraint handling HOT 1
- Get the local optimums HOT 2
- new API including ask and tell HOT 3
- Reference or paper to cite HOT 3
- documentation issue: what is the best value for popsize? HOT 1
- why is the Optuna CMA-ES sampler better than my custom cmaes code? HOT 12
- add example code of LRA-CMA
- Update README
- Are non-scalar values of a sigma supported? HOT 3
- How to set multi-dimensional Sigma HOT 2
- Wrong definition of dim in get_warm_start_mgd HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmaes.