Comments (3)
This asymmetrical design surprised me a little. Why not include the for
loop, such as in the example below:
cmaes/examples/ellipsoid_function.py
Lines 21 to 22 in f7ccf97
directly in the
ask()
function and return a list of solutions, just like function tell()
takes a list of scores?
This could potentially allow for parallel processing in ask()
.
from cmaes.
Thank you for the comment. You are right. At that time, I hadn't come up with a way to realize mirrored sampling (used in CR-FM-NES) with an ask-and-tell interface, so I tried to include everything in optimize(). But now that I've figured out how to do it, I think I can provide the mirrored sampling with the usual ask-and-tell interface, as shown above.
from cmaes.
I have implemented mirrored sampling (also known as antithetic sampling) in the DX-NES-IC code.
#149
from cmaes.
Related Issues (20)
- 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
- question about _xnes HOT 8
- 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
- Update raw.githubusercontent.com HOT 6
- [Question]
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.