Skip to content

Asynchronous API calls #886

@prabhant

Description

@prabhant

Description

Get evaluations of size 10000 for each task when supplied with list of task ids.
Currently we get evaluations for multiple tasks like this:
openml.evaluations.list_evaluations(task = suite.tasks, function = 'area_under_roc_curve', output_format='dataframe', size=10000)

which returns a dataframe of 10000 length with mixture of tasks, to get 10000 evaluations for each task user has to make a for loop which can take a long time.

We can introduce a new parameter like size_per_task to get a set of dataframes. For example
openml.evaluations.list_evaluations(task = suite.tasks, function = 'area_under_roc_curve', output_format='dataframe', size_per_task=10000)
which returns N datasets of length 10000.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions