When a model beats geometry, and why
You will: Fit a model, prove it beats the closed form honestly, and find out why it wins.
Builds on Datasets, splits, and the leak you did not look for and A camera, and the geometry behind it.
Geometry gives a baseline before any learning: the pinhole model's estimate of where the object is. A model is only worth shipping if it beats that baseline, on a test set that means something, by more than the noise.
Before fitting anything, measure why the baseline is wrong — its error has a shape, and the shape has a physical cause. A model that wins for a reason you measured first is one you can trust; a model that wins for a reason you cannot name will lose for one too. Then an ablation: take features away one at a time and watch which loss of accuracy matches the cause.
make camera); a model needs recorded episodes to learn from.In the simulation
Before any model, find the shape of the geometry's error. Hold the jaw over the cube high, then low, and watch it in the camera's picture: x and y do not change, but the image does. A position estimated from the picture alone gets height wrong in a way you can name. The model that corrects it is planned.
Kinematic: joints move at their real speed limit, but there is no gravity, no load and no physics.
The SO-101 loads as you reach it.
make drive keysIn this lesson
- Open Inspect, then tf, and hold the tool over the cube, more than 12 cm up. Note where the jaw is in the camera's picture.
- Lower it, same x and y, to below 5 cm. The jaw moves in the picture although it has not moved across the bench.
- Open the dataset view. Its learned model is labelled planned; until it exists, geometry is the answer.
Joints · SO-101 follower
1–5 joint · , . jog · [ ] jaw · - + step · h home · f frames
the keys of make drive
The buttons do what the keys do: hold one to repeat.
Limits from the description; speed capped at 1.7434 rad/s, the servo's datasheet derated. Poses from the profile.
Inspector
Code
The repository's own code behind what you do here appears once you move the arm.
Terms
- Baseline
- The answer without the clever part — here, closed-form geometry — that a model must beat to be worth shipping.
- Ablation
- Removing one input or component at a time to find out which one a result depends on.
- Feature contract
- The exact inputs a model was trained on, recorded with it, so serving cannot quietly feed it something else.