> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-docs-3133.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-docs-3133/Yyzv_GzsUgffZ_V1/images/sweeps/sweeps_faq_whatisestruns_1.png?fit=max&auto=format&n=Yyzv_GzsUgffZ_V1&q=85&s=79fece108ff4ba222257d40a010e2c34" 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-docs-3133/bvj5Ya_cdXKMYXmb/images/sweeps/spaces_sweeps_faq_whatisestruns_2.webp?fit=max&auto=format&n=bvj5Ya_cdXKMYXmb&q=85&s=5c0e813e8217a124904f1d38a24a25d1" 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>
