Runs

project とオプションのフィルターに関連付けられた、反復可能な Runs のコレクション。

Runs(
    client: "RetryingClient",
    entity: str,
    project: str,
    filters: Optional[Dict[str, Any]] = None,
    order: Optional[str] = None,
    per_page: int = 50,
    include_sweeps: bool = (True)
)

これは通常、Api.runs メソッドを介して間接的に使用されます。

属性

メソッド

convert_objects

View source

convert_objects()

histories

View source

histories(
    samples: int = 500,
    keys: Optional[List[str]] = None,
    x_axis: str = "_step",
    format: Literal['default', 'pandas', 'polars'] = "default",
    stream: Literal['default', 'system'] = "default"
)

フィルター条件に適合するすべての run のサンプリングされた履歴 メトリクス を返します。

arg
samples (int, optional) run ごとに返すサンプル数
keys (list[str], optional) 特定の キー の メトリクス のみを返します
x_axis (str, optional) この メトリクス を xAxis のデフォルトとして使用します。_step
format (Literal, optional) データを返す形式。オプションは “default”、“pandas”、“polars”
stream (Literal, optional) メトリクス の場合は “default”、マシン メトリクス の場合は “system”
戻り値
pandas.DataFrame format=“pandas” の場合、履歴 メトリクス の pandas.DataFrame を返します。
polars.DataFrame format=“polars” の場合、履歴 メトリクス の polars.DataFrame を返します。dicts のリスト: format=“default” の場合、run_id キー を含む履歴 メトリクス を含む dict のリストを返します。

next

View source

next()

update_variables

View source

update_variables()

__getitem__

View source

__getitem__(
    index
)

__iter__

View source

__iter__()

__len__

View source

__len__()
クラス変数
QUERY