Skip to content

Little AI cars try to learn how they can use their observed surroundings to control their speed and direction and solve a race track.

Notifications You must be signed in to change notification settings

Thommynator/MachineLearningRace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning Race

Build Status

master develop
Build Status Master Build Status Develop
Coverage Status Master Coverage Status Develop

General Idea

This project uses a genetic machine learning algorithm to control some little cars. The project is a work in progress and just started, so a lot of features are not working yet.

The screenshot below shows the current state. There are some automatic driving cars, which can measure distances to their surroundings. The distances will be used as inputs for a neural network. Basically, the neural network should return two outputs, one for acceleration/deceleration and the other one for turning the car... hopefully. :P

How to run the project

This project uses Maven as a build-tool, so make sure to download it and set it up on your machine.

  • Build the project with mvn clean package
  • Run in with mvn exec:java

New Ideas / Remaining Tasks

  • simple moving cars
  • race-track generator
  • interactive features like:
    • show only best car, hide others
    • change (increase/decrease/toggle) mutation rate
    • add trace for each car, which visualizes the driven path
    • save neural network of current best car
    • load neural network
    • use neural network of best car for all other cars
    • mouse events like zooming & panning
    • drawing new racetracks via mouse movement
  • better fitness function
  • fancy looking cars (image)
  • probably a lot of other stuff :D

About

Little AI cars try to learn how they can use their observed surroundings to control their speed and direction and solve a race track.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages