Robot Learning · Imitation Learning · M3-L2 · Intermediate
Watch the Clone Drift
Experiment log · Scout at Meridian General Hospital
Experiment log, Meridian General Hospital, 11:15. The clone built from the operators' demonstrations looked fine in the trial: for the first few seconds Scout is on top of the expert's path. Then it begins to wander, and a few trips end against the pillar. Everyone agrees the clone was trained well. Nobody can say what goes wrong, or when.
The simulator now runs the clone and the expert from the same new starts and logs both paths. You will measure the gap at every moment, decide when the clone has really left the path rather than just jittered, and fit how quickly the gap grows with the number of steps. The clone is deliberately imperfect: it saw only a few demonstrations from a narrow band of starts.
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.