Skip to content

Simulation of a self-driving car by implementing car physics, sensors, collision detection, and a feed-forward neural network among other things.

Notifications You must be signed in to change notification settings

foldupcircle/self-driving-ai

Repository files navigation

Self-Driving AI Sim

The goal of this project is to create a simulation of a self-driving car by implementing car physics, sensors, collision detection, and neural networks among other things.

Key Features

  • Implemented a feed-forward neural network from scratch
  • Added a chart to track training progress
  • Tuned network and sensors to improve model accuracy
  • Created a test framework of randomized car traffic
  • Added a finish line to denote when training is complete

Train Model

To see how the model is trained, open index.html in a browser. The training is complete when the car reaches the finish line (100% on the graph)

Test Model

The "best brain" has already been saved in best-brain.js. Open test.html in a browser to test the trained car. Here, the traffic cars are randomly generated, meaning everytime you refresh, there is a different arrangement of cars. Feel free to refresh multiple times and see how the car reacts!

About

Simulation of a self-driving car by implementing car physics, sensors, collision detection, and a feed-forward neural network among other things.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published