Skip to main content
W&B provides an estimated number of runs generated when creating a W&B Sweep with a discrete search space. This total reflects the Cartesian product of the search space. For instance, consider the following search space:
Estimated runs column
In this case, the Cartesian product equals 9. W&B displays this value in the App UI as the estimated run count (Est. Runs):
Sweep run estimation
To retrieve the estimated run count programmatically, use the expected_run_count attribute of the Sweep object within the W&B SDK:

Sweeps Hyperparameter