// deactivated tasks
tasks_d = openml.tasks.list_tasks(task_type_id=1, status="deactivated")
tasks_d = pd.DataFrame.from_dict(tasks_d, orient="index")
tasks_d = tasks_d.query("evaluation_measures != evaluation_measures")
tasks_d = tasks_d[(tasks_d.estimation_procedure == "33% Holdout set")]
task_ids = []
for did in dataset_ids:
After Change
def get_task_ids(dataset_ids):
// return task ids of corresponding datset ids.
// active tasks
print(len(dataset_ids))
tasks_a = openml.tasks.list_tasks(task_type_id=1, status="active")
tasks_a = pd.DataFrame.from_dict(tasks_a, orient="index")
// query only those with NaN as evaluation_measures.
//tasks_a = tasks_a.query("evaluation_measures != evaluation_measures")