openml.OpenMLStudy

class openml.OpenMLStudy(study_id: Optional[int], alias: Optional[str], benchmark_suite: Optional[int], name: str, description: str, status: Optional[str], creation_date: Optional[str], creator: Optional[int], tags: Optional[List[Dict]], data: Optional[List[int]], tasks: Optional[List[int]], flows: Optional[List[int]], runs: Optional[List[int]], setups: Optional[List[int]])

An OpenMLStudy represents the OpenML concept of a study (a collection of runs).

It contains the following information: name, id, description, creation date, creator id and a list of run ids.

According to this list of run ids, the study object receives a list of OpenML object ids (datasets, flows, tasks and setups).

Inherits from openml.BaseStudy

Parameters
study_idint

the study id

aliasstr (optional)

a string ID, unique on server (url-friendly)

benchmark_suiteint (optional)

the benchmark suite (another study) upon which this study is ran. can only be active if main entity type is runs.

namestr

the name of the study (meta-info)

descriptionstr

brief description (meta-info)

statusstr

Whether the study is in preparation, active or deactivated

creation_datestr

date of creation (meta-info)

creatorint

openml user id of the owner / creator

tagslist(dict)

The list of tags shows which tags are associated with the study. Each tag is a dict of (tag) name, window_start and write_access.

datalist

a list of data ids associated with this study

taskslist

a list of task ids associated with this study

flowslist

a list of flow ids associated with this study

runslist

a list of run ids associated with this study

setupslist

a list of setup ids associated with this study

property id

The id of the entity, it is unique for its entity type.

open_in_browser(self)

Opens the OpenML web page corresponding to this object in your default browser.

property openml_url

The URL of the object on the server, if it was uploaded, else None.

push_tag(self, tag: str)

Annotates this entity with a tag on the server.

Parameters
tagstr

Tag to attach to the flow.

remove_tag(self, tag: str)

Removes a tag from this entity on the server.

Parameters
tagstr

Tag to attach to the flow.

classmethod url_for_id(id_: int) → str

Return the OpenML URL for the object of the class entity with the given id.