Skip to content

Using NEAT(Neuroevolution of Augmenting Topologies), a simulated agent learns to drive a car through a series of simple obstacles by Mutating and adopting the 'genotypes' of 'parents'. The environment is set up in such a way where the agent uses multiple copies of itself to explore the environment. The copies that do not progress further are eli…

Notifications You must be signed in to change notification settings

AnuraagRath/SelfDrivingCar-using-NEAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SelfDrivingCar Simulation using NEAT:

Using NEAT(Neuroevolution of Augmenting Topologies), a simulated agent learns to drive a car through a series of simple obstacles by Mutating and adopting the 'genotypes' of 'parents'. The environment is set up in such a way where the agent uses multiple copies of itself to explore the environment. The copies that do not progress further are eliminated. This process repeats through a number of generations, until the agent is able to navigate through this environment without hitting the obstacles.

The Environment:

A simple environment has been created where a car just tries to avoid the generic obstacles.

env

The Initial State:

Multiple versions of the Agent are made to explore the environment to navigate and learn from it.

agentsSmith

The Algorithm:

The Algorithm used is NEAT. Neuroevolution of Augmenting Topologies.

Refer the paper here: NEAT

  • Mutation:

agentsSmith

code

  • Basic NN Architecture - The Sequential Model:

sequential

  • 5 input Nodes, 8 Hidden Nodes and 2 output nodes:
The 5 input nodes take in - "the x pos from height, y pos from nearest width, top pos, bottom pos, velocity of the car"

basic NN architecture

nav

Final result:

  • The Car moves independently without hitting the generic obstacles

final

Thank you

Anuraag Rath

:P

About

Using NEAT(Neuroevolution of Augmenting Topologies), a simulated agent learns to drive a car through a series of simple obstacles by Mutating and adopting the 'genotypes' of 'parents'. The environment is set up in such a way where the agent uses multiple copies of itself to explore the environment. The copies that do not progress further are eli…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published