> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-css-tab-borders.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# What is the `Est. Runs` column?

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:

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541-css-tab-borders/CJqIGmIsgc8Db54l/images/sweeps/sweeps_faq_whatisestruns_1.png?fit=max&auto=format&n=CJqIGmIsgc8Db54l&q=85&s=d8c42b5b1381bfa779fb4b42803f7585" alt="Estimated runs column" width="476" height="406" data-path="images/sweeps/sweeps_faq_whatisestruns_1.png" />
</Frame>

In this case, the Cartesian product equals 9. W\&B displays this value in the App UI as the estimated run count (**Est. Runs**):

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541-css-tab-borders/CJqIGmIsgc8Db54l/images/sweeps/spaces_sweeps_faq_whatisestruns_2.webp?fit=max&auto=format&n=CJqIGmIsgc8Db54l&q=85&s=e1e1b3ab6aa1f730a444f5cde663e300" alt="Sweep run estimation" width="2820" height="228" data-path="images/sweeps/spaces_sweeps_faq_whatisestruns_2.webp" />
</Frame>

To retrieve the estimated run count programmatically, use the `expected_run_count` attribute of the `Sweep` object within the W\&B SDK:

```python theme={null}
sweep_id = wandb.sweep(
    sweep_configs, project="your_project_name", entity="your_entity_name"
)
api = wandb.Api()
sweep = api.sweep(f"your_entity_name/your_project_name/sweeps/{sweep_id}")
print(f"EXPECTED RUN COUNT = {sweep.expected_run_count}")
```

***

<Badge stroke shape="pill" color="orange" size="md">[Sweeps](/support/models/tags/sweeps)</Badge><Badge stroke shape="pill" color="orange" size="md">[Hyperparameter](/support/models/tags/hyperparameter)</Badge>
