OpenML icon indicating copy to clipboard operation
OpenML copied to clipboard

Filter datasets and tasks by user, add user ID to the datasets and tasks

Open mfeurer opened this issue 6 years ago • 5 comments

Some of the listing function, for example list_flows allow to pass an uploader ID to only retrieve flows created by a user. Others like list_tasks do not allow that. For example the URL

https://test.openml.org/api/v1/xml/task/list/uploader/68

returns

<oml:error>
<oml:code>480</oml:code>
<oml:message>Illegal filter specified</oml:message>
<oml:additional_information>Legal filter operators: type,tag,data_tag,status,limit,offset,task_id,data_id,data_name,number_instances,number_features,number_classes,number_missing_values. Found illegal filter(s): uploader</oml:additional_information>
</oml:error>

It would be great if the option to filter by uploader was added. Also, I would appreciate if the uploader ID was added to the list for the datasets and tasks.

mfeurer avatar May 29 '19 13:05 mfeurer

Not sure about uploader for task. It is kind of irrelevant who created the task right? (We store that information, but it is not really clear how relevant this is. )

janvanrijn avatar May 29 '19 17:05 janvanrijn

Dataset changes are on test server btw. Let me know what you think.

janvanrijn avatar May 29 '19 17:05 janvanrijn

Not sure about uploader for task. It is kind of irrelevant who created the task right?

Most of the times, yes. I'm currently trying to delete some tasks, which were created by the unit tests, from the test server and I'm always getting the response Task is not owned by you. I stumbled upon the "missing" uploader information when trying to figure out why I cannot delete those tasks (and which ones I probably could). In summary, I think it mostly is not relevant, but can sometimes be helpful.

Dataset changes are on test server btw. Let me know what you think.

That looks great, thanks a lot!

mfeurer avatar May 31 '19 09:05 mfeurer

Not sure about uploader for task. It is kind of irrelevant who created the task right?

One more use case: Task 2104 has the nonsensical target feature p7, but should have the target feature class. However, I can't do anything about it and don't even know who to contact to disable/delete this task.

mfeurer avatar Oct 01 '19 08:10 mfeurer

And one more: 189778.

mfeurer avatar Oct 01 '19 09:10 mfeurer