Use Weights & Biases Sweeps to automate hyperparameter optimization and explore the space of possible models.
Quick setup: Get going with just a few lines of code. You can launch a sweep across dozens of machines, and it's just as easy as starting a sweep on your laptop.
Transparent: We cite all the algorithms we're using, and our code is open source.
Powerful: Our sweeps are completely customizable and configurable.
Explore: Efficiently sample the space of hyperparameter combinations to discover promising regions and build an intuition about your model.
Optimize: Use sweeps to find a set of hyperparameters with optimal performance.
k-fold cross validation: Here's a brief code example of k-fold cross validation with W&B Sweeps.
wandb: In your Python script, add a couple lines of code to log hyperparameters and output metrics from your script. Get started now →
Write config: Define the variables and ranges to sweep over. Pick a search strategy— we support grid, random, and Bayesian search, plus techniques for faster iterations like early stopping. Check out some example configs here.
Initialize sweep: Launch the sweep server. We host this central controller and coordinate between the agents that execute the sweep.
Launch agent(s): Run a single-line command on each machine you'd like to use to train models in the sweep. The agents ask the central sweep server what hyperparameters to try next, and then they execute the runs.
Visualize results: Open our live dashboard to see all your results in one central place.