NeuroNomixer logoNeuroNomixer
  • Home
  • Blog
  • Visual Guides
  • Authors
  • Contact
Sign InSign Up
NeuroNomixer logo
HomeBlogAuthorsContactPrivacy Policy

© 2026 NeuroNomixer — Built with Next.js & Tailwind CSS

Visual Guides/Feature Scaling
Data & Analysis

Feature Scaling Playground

Different features live on different scales: Age in years, Salary in thousands. But algorithms like KNN and SVM don't know this. Watch what happens when you scale.

Raw
Min-Max (0–1)
Normalization (mean)
Standardized (z-score)
Distance comparison

Sign in to track progress

Raw: No transformation applied; features remain on their original scales.
203142526325k48k70k93k115kAge (years)Salary ($)Point 1: Age 25, Salary $35,000Point 2: Age 32, Salary $48,000Point 3: Age 45, Salary $75,000Point 4: Age 28, Salary $42,000Point 5: Age 55, Salary $95,000Point 6: Age 38, Salary $62,000Point 7: Age 22, Salary $30,000Point 8: Age 60, Salary $110,000Point 9: Age 35, Salary $58,000Point 10: Age 50, Salary $88,000Point 11: Age 29, Salary $45,000Point 12: Age 48, Salary $82,000Point 13: Age 26, Salary $38,000Point 14: Age 42, Salary $70,000Point 15: Age 58, Salary $105,000Point 16: Age 31, Salary $52,000Point 17: Age 23, Salary $33,000Point 18: Age 52, Salary $92,000Point 19: Age 39, Salary $65,000Point 20: Age 44, Salary $78,000

Click two points to compare distances across scaling methods

Raw (No Scaling)

Features retain their original units: Age in years, Salary in dollars. Distance-based algorithms will be dominated by whichever feature has the largest absolute range.

Pros

  • +Interpretable values
  • +No information loss
  • +Works fine for tree-based models

Cons

  • −Distance algorithms skewed by scale
  • −Gradient descent converges slowly
  • −Regularization applies unequally

Common algorithms

Decision TreesRandom ForestsNaive Bayes

Applied Formula

x_raw = x  (no transformation)
y_raw = y

No transformation applied; features remain on their original scales.

Distance Between Two Points

Click two points on the scatter plot to compare Euclidean distances across scaling methods.

d = √((x₁−x₂)² + (y₁−y₂)²)

When to Use Which

Raw: Tree-based models: splits don't care about scale
Min-Max (0–1): Neural networks, bounded inputs, image pixel values
Normalization (mean): Gradient descent: centered and bounded without std
Standardized (z-score): SVM, PCA, KNN, linear regression, regularized models
← Previous GuideNext: Outlier Detection: Spot the Odd One Out →