Robot Learning · Supervised Learning for Robots · M2-L2 · Intermediate
Train a Tiny Neural Network
Experiment log · Scout at Meridian General Hospital
Experiment log, Meridian General Hospital, 14:05. The linear steering model works in the straight ward corridor and wanders in the curved wing: the true command saturates near the centre line and eases off towards the walls, and no straight line through the logs follows that. The team wants the smallest network that does.
You will write the two functions every network library hides, the forward pass and the backward pass, and check the second against finite differences, the debugging tool people actually use. Then you will train a network in the browser on the curved-corridor logs and choose its size, learning rate and training length yourself.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python with math and heapq. Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.