Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Get parameter_setting for list of run.ids #411

Closed
DanielKuehn87 opened this issue Apr 29, 2017 · 8 comments
Closed

API: Get parameter_setting for list of run.ids #411

DanielKuehn87 opened this issue Apr 29, 2017 · 8 comments

Comments

@DanielKuehn87
Copy link

I can get the evaluations for a list of runs but afaik I currently can only get the used parameters one at a time. To run a meta-study I need both and pulling the parameters one at a time is really slow.
Could you please add some listing call for this as well so we could use this here openml/openml-r#348?

@joaquinvanschoren
Copy link
Contributor

Hmm, indeed, you'd have to do this one run at a time right now.

Proposal:

@janvanrijn Does this sound feasible to you?

@janvanrijn
Copy link
Member

Took a bit longer than expected.

The functionality in the development branch, you can now apply setup/list with a set of filters (flow (int), tag (str)). Feel free to try it out. Will be moved to master branch soon.

@DanielKuehn87
Copy link
Author

Ok, sounds cool. I will try it for sure. Thanks!

@giuseppec
Copy link
Member

The API does not working for me, i.e. for https://test.openml.org/api/v1/setup/list/flow/1 I get PHP errors

This page contains the following errors:

error on line 64 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.

A PHP Error was encountered Severity: Notice Message: Undefined variable: limit Filename: v1/Api_setup.php Line Number: 134 Backtrace: File: /var/www/openml.org/public_html/openml_OS/models/api/v1/Api_setup.php Line: 134 Function: _error_handler	File: /var/www/openml.org/public_html/openml_OS/models/api/v1/Api_setup.php Line: 34 Function: setup_list	File: /var/www/openml.org/public_html/openml_OS/controllers/Api_new.php Line: 149 Function: bootstrap	File: /var/www/openml.org/public_html/openml_OS/controllers/Api_new.php Line: 111 Function: bootstrap	File: /var/www/openml.org/public_html/index.php Line: 334 Function: require_once

@joaquinvanschoren
Copy link
Contributor

joaquinvanschoren commented Jul 6, 2017 via email

@giuseppec
Copy link
Member

Thanks. Is the tag filter referring to tags of the flow or tags of the run?

@joaquinvanschoren
Copy link
Contributor

joaquinvanschoren commented Jul 6, 2017 via email

@joaquinvanschoren
Copy link
Contributor

Can I close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants