Feed Forward Neural Network and Genetic Algorithm Driven Cars

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,050
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 16, 2010

This is the final project for an undergraduate neural networks course. A program was written in java for a FFNN to control each car. Inputs for the network came from the distance the midpoint of the car was to the walls at +45, 0, and -45 degrees from the direction of travel. Outputs were normalized linear and angular velocities, and they were calculated 25 times per second. There was one hidden layer.

Weights for the network were initialized to be random. A genetic algorithm was used to update the weights for each iteration. The fitness was determined by proximity to the end of the 'track'.

This video shows one of the quickest observed convergences. Most attempts took about ten iterations before a majority of cars reached the end.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • @SlavaVB I didn't use thresholds for activations. I believe I used hyperbolic tangent for everything, and multiplied the output layer's two neurons' output values by some maximum for linear and angular velocity.

  • Did you also generate random neuron thresholds? Or just the weights?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more