openml.OpenMLTask¶
-
class
openml.OpenMLTask(task_id: Optional[int], task_type_id: int, 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_idint
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(self) → openml.tasks.split.OpenMLSplit¶ Download the OpenML split for a given task.
-
get_dataset(self) → openml.datasets.dataset.OpenMLDataset¶ Download dataset associated with task
-
publish(self) → int¶ Publish task to OpenML server.
- Returns
- task_id: int
Returns the id of the uploaded task if successful.
-
push_tag(self, tag: str)¶ Annotates this task with a tag on the server.
- Parameters
- tagstr
Tag to attach to the task.
-
remove_tag(self, tag: str)¶ Removes a tag from this task on the server.
- Parameters
- tagstr
Tag to attach to the task.