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

publish(self) → int

Publish the study on the OpenML server.

Returns
study_id: int

Id of the study uploaded to the server.