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
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.