Skip to main content
100%

Simple Neuroevolution Cartpole

✓ Published0🌍 Public
SSohojoe
Last edited Jun 23, 2016
Created on Jun 22, 2016

This example shows a neuroevolution system training agents to solve the CartPole-v0 balancing task using OpenAI Gym. A population of 100 neural networks evolves over 100 epochs, with each network’s fitness determined by its average score across 5 episodes. The Keras models use densely connected layers with ReLU activation, while the evolution process selects and mutates networks based on their performance. Agent scores are collected and then the top performers are used to generate the next generation, gradually improving the population’s ability to keep the pole upright.

AI-generated description

Similar vizzes