Tiny AI · Part 1 · by Joel Sadler
Tiny AI · Part 1

Goldilocks

A neuron with a real job: this patient needs medicine, and the dose has to be just right. Too little does nothing. Too much does harm.

Z−
Z+
X−
X+
Y+
Y−
dose 5.5 of 11 · 50 mg
predicted effect
0%

Notice the sealed black box in the corner: a machine you cannot see into, yet. Hover it to turn it to glass, click it for a CAD-style exploded view. By the end of this page, nothing inside it will be mysterious. Play with the room too: click the floor to drop a brick (it snaps to the studs), drag bricks around, flick one hard to launch it, and double-click any dropped brick to remove it. Note: everything on the plate is a real LEGO element; right-click any part (long-press on touch) for its BrickLink catalog page.

1 · The problem, in numbers

Five observations from the (toy) clinic. Effectiveness peaks in the middle: the Goldilocks zone. Your whole job in this lab is to make a machine that predicts effectiveness from dose.

stage 1 of 3 · one neuron

Start with the simplest possible machine: one neuron, two knobs. It computes the line you know from school: ŷ = m·x + c. Turn m (the slope) and c (the starting height) and try to fit the dots you collected.

Score (loss): -