How to create a self-learning robot
summary
Shows a Python implementation of reinforcement learning that actually learns two systems: a reaction-wheel cube balancing controller and a Gomoku player. Uses tabular Q-learning with epsilon-greedy/Q-learning updates (alpha learning rate, gamma ≈ 0.9), discretizes continuous state into ~60 bins, and the cube finds a balancing policy in about 1,000 episodes (needs up to tens of thousands when motor power is reduced). The Gomoku agent uses a sparse move tree plus simulation depth, learns ~22,000 states after several games and reaches consistent wins after ~15 training games.
AI-written summary · about
chapters (11)
- 0:00Introduction to self-learning robots
- 2:15What is reinforcement learning
- 6:20Engineering vs learning approach
- 7:46Reinforcement learning system elements
- 10:01State and reward design
- 17:09Policy and Q-learning basics
- 21:51Q-learning formula explained
- 24:44Live demo of cube balancing
- 30:45Gomoku game learning example
- 35:54Demo of Gomoku AI gameplay
- 38:50Applications and summary
