← 🧠 Machine Learning

📈 Surrogate Lab

RMSE (fit error):
Max error:
Best trial found:
FPS:
Drag — rotate · Scroll — zoom

📈 Approximation Theory in Hyperparameter Optimization

A translucent wireframe hides the true validation-loss landscape over two hyperparameters, while a solid, colored surrogate surface — fitted by kernel regression from a handful of sampled trials — tries to approximate it.

🔬 What It Demonstrates

Kernel-weighted regression is a textbook function-approximation method: nearby evidence dominates, distant evidence fades. Switching to the error and uncertainty views shows exactly where the approximation is trustworthy and where it is guessing.

🎮 How to Use

Add more trials to sharpen the fit, widen or narrow the kernel bandwidth to trade smoothness for detail, and add observation noise to see the surrogate wobble. Switch the surface view to inspect error, uncertainty, or the hidden ground truth.

💡 Did You Know?

Real Bayesian hyperparameter tuners choose their next trial by maximizing an acquisition function built from exactly this kind of surrogate-plus-uncertainty pair — favoring points where the approximation error bound is largest.