> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-wbdocs-1882.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-wbdocs-1882/VuVPPvcjyIlg9vr8/images/sweeps/sweeps_faq_whatisestruns_1.png?fit=max&auto=format&n=VuVPPvcjyIlg9vr8&q=85&s=06a25ffcaa838b4ccb013c5028b589ce" 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-wbdocs-1882/VuVPPvcjyIlg9vr8/images/sweeps/spaces_sweeps_faq_whatisestruns_2.webp?fit=max&auto=format&n=VuVPPvcjyIlg9vr8&q=85&s=53f6fcece9c4c6dfd38f9be48ec9106c" 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>
