Projects¶
Projects ¶
Interact with projects in the Driverless AI server.
Project ¶
A project in the Driverless AI server.
datasets
property
¶
experiments
property
¶
experiments: Sequence[Experiment]
Experiments linked to the project.
Returns:
-
Sequence[Experiment]
–
sharings
property
¶
delete ¶
delete(include_experiments: bool = False) -> None
Permanently deletes the project from the Driverless AI server.
Parameters:
-
include_experiments
(bool
, default:False
) –Unlink & delete experiments linked to the project.
get_dataset_tags ¶
get_experiment_tags ¶
gui ¶
gui() -> Hyperlink
Returns the full URL to the project details page in the Driverless AI server.
Returns:
-
Hyperlink
–URL to the project details page.
link_dataset ¶
link_dataset(
dataset: Dataset,
dataset_type: str,
link_associated_experiments: bool = False,
) -> Project
link_experiment ¶
link_experiment(experiment: Experiment) -> Project
Links an experiment to the project.
Parameters:
-
experiment
(Experiment
) –The experiment to link.
Returns:
-
Project
–This project.
redescribe ¶
rename ¶
share ¶
unlink_dataset ¶
unlink_experiment ¶
unlink_experiment(experiment: Experiment) -> Project
Unlinks an experiment from the project.
Parameters:
-
experiment
(Experiment
) –The experiment to be unlinked.
Returns:
-
Project
–This project.
unshare ¶
unshare(username: str) -> None
Unshare the project when H2O Storage is connected.
Parameters:
-
username
(str
) –Driverless AI username of user to unshare with.
update_dataset_tags ¶
Updates tags from a dataset linked to the project.
Parameters:
Example
Create a project, link a dataset, and remove all existing tags.
project = client.projects.create(
name="test project",
description="project description",
)
project.link_dataset(dataset)
project.update_dataset_tags(dataset, [])
Driverless AI version requirement
Requires Driverless AI server 1.11.0 or higher.
update_experiment_tags ¶
Updates tags from an experiment linked to the project.
Parameters:
Example
Create a project, link an experiment, and remove all existing tags.
project = client.projects.create(
name="test project",
description="project description",
)
project.link_experiment(experiment)
project.update_experiment_tags(experiment, [])