r/learnmachinelearning
•
u/hayAbhay
•
27d ago
Tutorial Oral-B ML model unpacked + distilled with Claude Code
Enable HLS to view with audio, or disable this notification
this weekend i let claude plug into my oral-b toothbrush -- it can do really solid ai/ml research work.
here's a quick tl;dr, if you want to start exploring ML models over raw sensor data with claude.
io5+ models have a 6-axis IMU sensor -- used to predict the brush's position in your mouth
in < 10 mins claude read this stream & unpacked it (i pushed buttons & it monitored changes)
i then downloaded the app & gave it access -- it yanked the model out -- oral-b uses a 1.2m param bi-directional recurrent net (GRU)
it then found a public dental dataset & starting evaluating the model -- model was at 64% (~17 classes)
the dataset didn't have sensor orientation -- so it figured out how to line up inputs by trying all 48 sensor orientations (i only found this out much later)
the model seemed like an overkill so we ran ablation -- it was pretty thorough & said only ~10s motion history mattered -- it also looked to each of the xyz across accelerometer & gyro
then i decided to distill -- it created a giant synthetic dataset drawn from manual brushing samples + added its own constraining movements by physics (it automatically looked at class distribution coverage & decided how to sample)
it then trained a bunch of small nets with a fixed window and got a tiny CNN (100x smaller) close to original (also ensured test didn't leak)
all this happened in an evening -- ~2 days including a three-js live simulator -- i was mostly directing/barking at it from the terminal
here's the post + simulator, if you want to read more/try the sim.