← 🧠 Machine Learning

📉 Loss Landscape

Iteration: 0
Evaluations: 0
Current loss:
Best loss found:
FPS:
Drag — rotate · Scroll — zoom

📉 Mathematical Foundations of Hyperparameter Optimization

A synthetic validation-loss surface rendered in 3D, searched live by grid search, random search and gradient descent so you can see how each optimization strategy explores hyperparameter space.

🔬 What It Demonstrates

Hyperparameter tuning is minimizing an objective function L(θ) over a search space. The purple-to-pink surface height encodes loss; gradient descent follows −∇L(θ) downhill, while random and grid search sample the space directly.

🎮 How to Use

Pick an optimizer, then tune the step size, landscape ruggedness and batch size. Watch the current-best marker chase the true minimum and compare how quickly — and how reliably — each strategy finds it.

💡 Did You Know?

Bergstra & Bengio's 2012 study found random search often beats grid search at equal budget, because most objective functions are dominated by only a few truly important hyperparameters.