openml.tasks.OpenMLTask

class openml.tasks.OpenMLTask(task_id: Optional[int], task_type_id: openml.tasks.task.TaskType, task_type: str, data_set_id: int, estimation_procedure_id: int = 1, estimation_procedure_type: Optional[str] = None, estimation_parameters: Optional[Dict[str, str]] = None, evaluation_measure: Optional[str] = None, data_splits_url: Optional[str] = None)

OpenML Task object.

Parameters
task_type_idTaskType

Refers to the type of task.

task_typestr

Refers to the task.

data_set_id: int

Refers to the data.

estimation_procedure_id: int

Refers to the type of estimates used.

download_split() openml.tasks.split.OpenMLSplit

Download the OpenML split for a given task.

get_dataset() openml.datasets.dataset.OpenMLDataset

Download dataset associated with task

property id: Optional[int]

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

open_in_browser()

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

property openml_url: Optional[str]

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

push_tag(tag: str)

Annotates this entity with a tag on the server.

Parameters
tagstr

Tag to attach to the flow.

remove_tag(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.