openml.tasks.delete_task

openml.tasks.delete_task(task_id: int) bool

Delete task with id task_id from the OpenML server.

You can only delete tasks which you created and have no runs associated with them.

Parameters:
task_idint

OpenML id of the task

Returns:
bool

True if the deletion was successful. False otherwise.