openml.tasks.get_task

openml.tasks.get_task(task_id: int, download_data: bool = True, download_qualities: bool = True) openml.tasks.task.OpenMLTask

Download OpenML task for a given task ID.

Downloads the task representation, while the data splits can be downloaded optionally based on the additional parameter. Else, splits will either way be downloaded when the task is being used.

Parameters
task_idint

The OpenML task id of the task to download.

download_databool (default=True)

Option to trigger download of data along with the meta data.

download_qualitiesbool (default=True)

Option to download ‘qualities’ meta-data in addition to the minimal dataset description.

Returns
task