← All tools
EDTOOLKITS GUIDES

Compare scaled and raw inputs fairly

By Team Edtoolkits · AI learning

Keep the learning rate fixed while testing whether differently sized features destabilize gradient descent.

Use the guide alongside the working tool.

Open Feature Scaling →

Explore the lesson

Watch unequal bars shrink to a common scale.

In the playground, train with and without scaling at the same learning rate.

Flip the memory card and answer the quick check.

A comparison to try

Train the invented house model with raw area and room-count values. Repeat at the same learning rate with min-max scaling, then with standardization. Compare convergence or divergence before adjusting the rate.

Read the result

Large numeric ranges can dominate updates. Scaling changes the optimization geometry; it does not add information to the houses or turn a correlated feature into a causal one. Inspect the loss trajectory, not just the final label.

A mistake to avoid

This helper scales a fixed teaching dataset. In real evaluation, fit scaling statistics on training data and apply them to held-out data; calculating preprocessing from the test set can leak information.

Teaching model and privacy

A teaching version: a two-feature linear model on eight made-up houses, trained by plain gradient descent. Everything runs in your browser.

Ready to apply this workflow?

Try Feature Scaling →

Explore a related workflow

All practical guides →

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

YOUR BROWSER, YOUR CHOICE