Reader small image

You're reading from  Hands-On Neuroevolution with Python.

Product typeBook
Published inDec 2019
Reading LevelExpert
PublisherPackt
ISBN-139781838824914
Edition1st Edition
Languages
Right arrow
Author (1)
Iaroslav Omelianenko
Iaroslav Omelianenko
author image
Iaroslav Omelianenko

Iaroslav Omelianenko occupied the position of CTO and research director for more than a decade. He is an active member of the research community and has published several research papers at arXiv, ResearchGate, Preprints, and more. He started working with applied machine learning by developing autonomous agents for mobile games more than a decade ago. For the last 5 years, he has actively participated in research related to applying deep machine learning methods for authentication, personal traits recognition, cooperative robotics, synthetic intelligence, and more. He is an active software developer and creates open source neuroevolution algorithm implementations in the Go language.
Read more about Iaroslav Omelianenko

Right arrow

Exercises

Now that we have the source code of the neuroevolutionary-based XOR solver, try to experiment by changing NEAT's hyperparameters, which control the evolutionary process.

One of the parameters of particular interest is compatibility_threshold, which can be found in the DefaultSpeciesSet section of the configuration file:

  • Try to increase its value and monitor the speciation of the population. Compare the performance of the algorithm with the new value against the default one (3.0). Does it get any better?
  • What happens if you decrease the value of this parameter? Compare its performance against the default value.

Another essential parameter that controls the evolutionary process is min_species_size, which can be found in the DefaultReproduction section. By changing the values of this parameter, you can directly control the minimum number of individuals per species...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Neuroevolution with Python.
Published in: Dec 2019Publisher: PacktISBN-13: 9781838824914

Author (1)

author image
Iaroslav Omelianenko

Iaroslav Omelianenko occupied the position of CTO and research director for more than a decade. He is an active member of the research community and has published several research papers at arXiv, ResearchGate, Preprints, and more. He started working with applied machine learning by developing autonomous agents for mobile games more than a decade ago. For the last 5 years, he has actively participated in research related to applying deep machine learning methods for authentication, personal traits recognition, cooperative robotics, synthetic intelligence, and more. He is an active software developer and creates open source neuroevolution algorithm implementations in the Go language.
Read more about Iaroslav Omelianenko