Skip to content

Commit 7db4c70

Browse files
committed
benchmark suite
1 parent ab5299b commit 7db4c70

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

openml/study/functions.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def detach_from_study(study_id, entity_ids):
281281

282282

283283
def list_studies(offset=None, size=None, main_entity_type=None, status=None,
284-
uploader=None):
284+
uploader=None, benchmark_suite=None):
285285
"""
286286
Return a list of all studies which are on OpenML.
287287
@@ -308,8 +308,10 @@ def list_studies(offset=None, size=None, main_entity_type=None, status=None,
308308
Every dataset is represented by a dictionary containing
309309
the following information:
310310
- id
311+
- alias (optional)
311312
- name
312313
- main_entity_type
314+
- benchmark_suite (optional)
313315
- status
314316
- creator
315317
- creation_date
@@ -322,7 +324,8 @@ def list_studies(offset=None, size=None, main_entity_type=None, status=None,
322324
size=size,
323325
main_entity_type=main_entity_type,
324326
status=status,
325-
uploader=uploader)
327+
uploader=uploader,
328+
benchmark_suite=benchmark_suite)
326329

327330

328331
def _list_studies(**kwargs):
@@ -362,6 +365,7 @@ def __list_studies(api_call):
362365
'oml:id': 'id',
363366
'oml:alias': 'alias',
364367
'oml:main_entity_type': 'main_entity_type',
368+
'oml:benchmark_suite': 'benchmark_suite',
365369
'oml:name': 'name',
366370
'oml:status': 'status',
367371
'oml:creation_date': 'creation_date',

0 commit comments

Comments
 (0)