Skip to content

Commit fc70dd3

Browse files
committed
ADD download runs
1 parent 1010a22 commit fc70dd3

6 files changed

Lines changed: 381 additions & 36 deletions

File tree

doc/api.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Dataset Functions
3838
list_datasets
3939

4040
Run Functions
41-
--------------
41+
-------------
4242
.. currentmodule:: openml.runs
4343

4444
.. autosummary::
@@ -47,6 +47,12 @@ Run Functions
4747

4848
run_task
4949
get_run
50+
list_runs
51+
list_runs_by_flow
52+
list_runs_by_tag
53+
list_runs_by_task
54+
list_runs_by_uploader
55+
list_runs_by_filters
5056

5157
Task Functions
5258
--------------

doc/progress.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,23 @@ API call implemented tested properly test
3939
/flow/ yes yes
4040
/flow/exists/{name,ext_version}
4141
/flow/owned
42-
/run/list yes yes
43-
/run/{run_id} yes yes
44-
/run yes yes
42+
/run/list/task/{task_ids} yes yes
43+
/run/list/run/{run_ids} yes yes
44+
/run/list/tag/{tag} yes yes
45+
/run/{id} yes yes
46+
/run/list/uploader/{ids} yes yes
47+
/run/list/flow/{ids} yes yes
48+
/run/list/{filters} yes yes
4549
/run/tag
4650
/run/untag
47-
/run/evaluate
48-
/run/reset
51+
/run (POST) yes yes
52+
/run/{id} (DELETE)
4953
/estimationprocedure/{proc_id}
5054
/estimationprocedure/list
5155
/evaluationmeasures/list
5256
/job/request/
5357
=============================================== =========== ====== =============== ========== =====================
5458

55-
This list does not contain the `/setup/` calls because we do not need them
56-
according to Jan.
57-
5859
Convenience Functions
5960
=====================
6061

openml/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from .apiconnector import APIConnector
1919
from .datasets import OpenMLDataset
2020
from . import datasets
21+
from . import runs
2122
from .runs import OpenMLRun
2223
from .tasks import OpenMLTask, OpenMLSplit
2324
from .flows import OpenMLFlow
@@ -26,4 +27,4 @@
2627
__version__ = "0.2.1"
2728

2829
__all__ = ['APIConnector', 'OpenMLDataset', 'OpenMLRun', 'OpenMLSplit',
29-
'datasets', 'OpenMLTask', 'OpenMLFlow']
30+
'datasets', 'OpenMLTask', 'OpenMLFlow', 'runs']

openml/runs/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
from .run import OpenMLRun
2-
from .run import run_task, get_run
2+
from .run import (run_task, get_run, list_runs, list_runs_by_flow,
3+
list_runs_by_tag, list_runs_by_task, list_runs_by_uploader,
4+
list_runs_by_filters)
35

4-
__all__ = ['OpenMLRun', 'run_task', 'get_run']
6+
__all__ = ['OpenMLRun', 'run_task', 'get_run', 'list_runs', 'list_runs_by_flow',
7+
'list_runs_by_tag', 'list_runs_by_task', 'list_runs_by_uploader',
8+
'list_runs_by_filters']

0 commit comments

Comments
 (0)