← All tools
EDTOOLKITS GUIDES

Check the slope before interpreting a training step

By Team Edtoolkits · AI learning

Trace a parameter update on the visible loss curve and distinguish numerical position from the plotted boundary.

Use the guide alongside the working tool.

Open Gradient Descent →

Explore the lesson

Watch the ball roll down the bowl in small steps.

Pick a start point and a step size, then step or run the descent.

Flip the memory card and answer the quick check.

A comparison to try

Start at parameter zero with learning rate 0.1. The model's gradient is -4.36, so the first update reaches 0.436. Compare that move with the slope, then try a much larger rate.

Read the result

The update subtracts learning rate times gradient. It can move in a sensible direction and still overshoot if the step is too large; both position and loss should be inspected over several updates.

A mistake to avoid

The bowl is deliberately simple and slightly skewed, so its minimum is not exactly at two. A ball drawn at the plot edge may represent a value outside the visible range, not a successful bounded update.

Teaching model and privacy

This is a one-parameter bowl so you can see every step. Real models descend in millions of dimensions, but each step uses the same rule. Everything runs in your browser.

Ready to apply this workflow?

Try Gradient Descent →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE