File Exchange

image thumbnail

Machine learning - balancing a stack of balls

version 1.2.0.0 (48.7 KB) by Peter Bone
A genetic algorithm is used to train a neural network controller to balance a stack of balls.

4 Downloads

Updated 27 Jun 2012

View License

A genetic algorithm is used to train a neural network controller to balance a stack of balls by applying a lateral force and a torque to the bottom ball. The capsim physics engine is used to produce a realistic simulation for each attempt. It can learn up to 4 balls.
http://www.youtube.com/watch?v=c4vADjwOFNc

Cite As

Peter Bone (2019). Machine learning - balancing a stack of balls (https://www.mathworks.com/matlabcentral/fileexchange/36911-machine-learning-balancing-a-stack-of-balls), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

I-Lin Ho

JIA XIA

Daria

Rob Campbell

Updates

1.2.0.0

Video link

1.1.0.0

Acknowledgements

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux