Class wandb.apis.public.Sweep
The set of runs associated with the sweep.Args
ServiceApi
No description provided.
str
No description provided.
str
No description provided.
str
No description provided.
Mapping[str, Any] | None
No description provided.
Attributes
runs(Runs): List of runsid(str): Sweep IDproject(str): The name of the project the sweep belongs toconfig(dict): Dictionary containing the sweep configurationstate(str): The state of the sweep. Can be “Finished”, “Failed”, “Crashed”, or “Running”.expected_run_count(int): The number of expected runs for the sweep
Properties
The sweep configuration used for the sweep.
str
The entity associated with the sweep.
int | None
Return the number of expected runs in the sweep or None for infinite runs.
The name of the sweep.Returns the first name that exists in the following priority order:
- User-edited display name
- Name configured at creation time
- Sweep ID
Return the order key for the sweep.
Returns the path of the project.The path is a list containing the entity, project name, and sweep ID.
The URL of the sweep.The sweep URL is generated from the entity, project, the term
“sweeps”, and the sweep ID.run_id. For
SaaS users, it takes the form
of
https://wandb.ai/entity/project/sweeps/sweeps_ID.str
Deprecated. Use
Sweep.entity instead.Methods
method Sweep.agent()
Arguments
str
The ID of the agent to look up.
method Sweep.agents()
method Sweep.best_run()
Arguments
_empty
No description provided.
method Sweep.enqueue_run()
Arguments
dict
The config for the run.
str | None
The optional display name for the run.
Raises
UnsupportedError: If the server doesn’t support enqueuing sweep runs.
method Sweep.get()
Arguments
Api
The W&B API instance.
str | None
The entity (username or team) that owns the project.
str | None
The name of the project to fetch sweep from.
str | None
The sweep ID to query.
str | None
The order in which the sweep’s runs are returned.
str | None
The query to use to execute the query.
_empty
No description provided.
method Sweep.to_html()
Arguments
int
No description provided.
No description provided.