Use Weights & Biases Sweeps to automate hyperparameter optimization and explore the space of possible models.
Quick setup: With just a few lines of code you can run W&B sweeps.
Transparent: We cite all the algorithms we're using, and our code is open source.
Powerful: Our sweeps are completely customizable and configurable. You can launch a sweep across dozens of machines, and it's just as easy as starting a sweep on your laptop.
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.
Add 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, as well as 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 this 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.