-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Range of individuals in CMA-ES #200
Comments
Example (where creator.Individual has been already created using creator.create):
To answer you second question: The first line of code creates an "attribute" of the "individual", which is a random integer number bounded between 0 and 100.
|
Thank you @sarajcev for your reply. |
It seems I've misunderstood your question. I believe that the "N" in the code |
The reason for the discrepancy between the two type of algorithms is
because evolution strategies generate the populations randomly while
adjusting the distribution parameters. Evolutionary algorithms for their
part modify (mate and mutate) actual individuals using natural selection.
In evolutionary computation in general, the number of generated individuals
each generation is usually noted lambda while the number of selected
individuals is mu.
Le 15 mai 2017 05:35, "sarajcev" <notifications@github.com> a écrit :
… It seems I've misunderstood your question.
I believe that the "N" in the code strategy =
cma.Strategy(centroid=[5.0]*N, sigma=5.0, lambda_=20*N) is the size of
the individual.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#200 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AA6rwkSnHkPSHA-QePJryJbnOikyio4Xks5r6BxsgaJpZM4NagGq>
.
|
This is more an question than an issue, please use the mailing list for such conversations. |
Hi everyone,
I am new to DEAP. I've two quick questions about the CMA-ES example
https://github.com/DEAP/deap/blob/759473d39dc307aa986f6035bbc5a8fd5e058db3/examples/es/cma_minfct.py
Thank you in advance
The text was updated successfully, but these errors were encountered: