Robot Learning · Learning for Manipulation and Locomotion · M9-L1 · Intermediate
Predict Grasp Success
Experiment log · Scout at Meridian General Hospital
Experiment log, Meridian General Hospital, pharmacy corridor. Scout's new two-finger gripper has to pick up medication boxes of unknown weight. Before anyone lets it near a real vial, the team logged a few hundred trial grasps in a simulator: how far off-centre the fingers closed, the tilt of the hand, an estimate of the friction, the squeeze force, and whether the box stayed in the gripper. The first model they trained scored 99 percent. The second one, trained on the same data, was tried on the real gripper and dropped nearly everything.
You will write the three small pieces of the pipeline yourself: the standardisation of the features, the gradient-descent training of a logistic regression, and a screen that finds the column that made the first model look so good. The logs are generated by a toy grasp model with hidden mass and noisy friction readings; every check uses a new log with a different friction-sensor noise.
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.