← 🧠 Machine Learning

🎯 Search Tuning Lab

Trials run: 0 / 60
Best AUC — Random:
Best AUC — Bayesian TPE:
FPS:
Random Search points
Bayesian TPE points
Drag — rotate · Scroll — zoom

🎯 Random Search vs Bayesian Optimisation: Tuning XGBoost

Two identical hyperparameter landscapes sit side by side, one searched by uniform Random Search, the other by a simplified Tree-structured Parzen Estimator (Bayesian TPE) — watch which strategy climbs to the peak validation score faster.

🔬 What It Demonstrates

Random Search samples blindly every trial. Bayesian TPE models which regions of past trials scored well versus poorly, then samples new candidates that maximise the good/bad density ratio — biasing later trials toward the peak.

🎮 How to Use

Set a trial budget and TPE exploitation strength, then press Autoplay (or Step) to run both strategies trial-by-trial. Compare the best AUC found by each and watch how quickly TPE's blue points cluster near the summit.

💡 Did You Know?

Hyperopt's TPE sampler underlies many production AutoML pipelines precisely because it usually needs far fewer trials than grid or random search to reach a near-optimal gradient-boosted model configuration.