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:
In this case, the Cartesian product equals 9. W&B displays this value in the App UI as the estimated run count (Est. Runs):
To retrieve the estimated run count programmatically, use the expected_run_count attribute of the Sweep object within the W&B SDK: