You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
list_evaluations_setup() fails when number of evaluations not a multiple of 100 #838
np.split looks to split the array into N equal spaced arrays wherein N is 100 here. As a result, it appears that for any combination of input where the number of evaluations returned is not a multiple of 100, this function will throw an error.
It is a problem with list_setups when we supply the setup_id parameter. When we supply more than 100 setup ids, the api request doesnt happen(URL length may be exceeded). This will be a problem with all listing calls. I want to get a list of setups, by supplying a list of setup ids
Activity
sahithyaravi commentedon Oct 16, 2019
Yes, just encountered this myself yesterday, will fix this
mfeurer commentedon Oct 16, 2019
Will it be possible to use the listing helper in https://github.com/openml/openml-python/blob/develop/openml/utils.py ?
sahithyaravi commentedon Oct 16, 2019
list_setups does use the helper already, but doesnt work with large results unlike list_evaluations.
mfeurer commentedon Oct 16, 2019
But
list_evaluationsuses the helper, too: https://github.com/openml/openml-python/blob/develop/openml/evaluations/functions.py#L79sahithyaravi commentedon Oct 16, 2019
It is a problem with list_setups when we supply the setup_id parameter. When we supply more than 100 setup ids, the api request doesnt happen(URL length may be exceeded). This will be a problem with all listing calls. I want to get a list of setups, by supplying a list of setup ids
mfeurer commentedon Oct 16, 2019
Got it, thanks for the explanation.