← 🧠 Machine Learning

🧬 Evolution Lab

Generation: 0
Best loss:
Avg loss:
Diversity:
FPS:
Drag — rotate · Scroll — zoom

🧬 Evolutionary Algorithms for Hyperparameter Optimization

A population of candidate hyperparameter configurations searches a 3D validation-loss landscape generation by generation, using either a genetic algorithm or particle swarm optimization.

🔬 What It Demonstrates

The purple-green-red surface encodes validation loss over two hyperparameter axes. Each sphere is a candidate configuration; every generation the population is selected, recombined and mutated (or accelerated toward personal/global bests) so it drifts toward the landscape's minima.

🎮 How to Use

Choose Genetic Algorithm or Particle Swarm, pick a smooth or rugged landscape, and tune population size, mutation/exploration and selection pressure. Step one generation at a time or let it evolve automatically, and watch the best-loss marker track the global minimum.

💡 Did You Know?

Population-based training and CMA-ES are used in production ML pipelines precisely because hyperparameter loss surfaces are usually non-differentiable and riddled with local minima — exactly what the rugged landscape here simulates.