> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# `Est. Runs` 列とは？

W\&B では、離散的な探索空間を持つ W\&B Sweep を作成する際に、生成される runs の推定数を表示します。この合計値は、探索空間のデカルト積を反映したものです。

たとえば、次のような探索空間を考えます。

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541/6bJLb4DIApn2yeFO/images/sweeps/sweeps_faq_whatisestruns_1.png?fit=max&auto=format&n=6bJLb4DIApn2yeFO&q=85&s=270f85337c2aab9c8e50dbc0510760cc" alt="推定Runs列" width="476" height="406" data-path="images/sweeps/sweeps_faq_whatisestruns_1.png" />
</Frame>

この場合、デカルト積は 9 です。W\&B は、この値を App UI に推定 run 数 (**Est. Runs**) として表示します。

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541/6bJLb4DIApn2yeFO/images/sweeps/spaces_sweeps_faq_whatisestruns_2.webp?fit=max&auto=format&n=6bJLb4DIApn2yeFO&q=85&s=71464fceb9749fe099211a314440e281" alt="Sweep の run 数推定" width="2820" height="228" data-path="images/sweeps/spaces_sweeps_faq_whatisestruns_2.webp" />
</Frame>

推定 run 数をプログラムから取得するには、W\&B SDK 内の `Sweep` オブジェクトの `expected_run_count` 属性を使用します。

```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](/ja/support/models/tags/sweeps)</Badge><Badge stroke shape="pill" color="orange" size="md">[ハイパーパラメーター](/ja/support/models/tags/hyperparameter)</Badge>
