Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion openml/evaluations/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ def list_evaluations(
the evaluation function. e.g., predictive_accuracy
offset : int, optional
the number of runs to skip, starting from the first
size : int, default 10000
size : int, default 1000
The maximum number of runs to show.
Maximum allowed is 1000.
If set to ``None``, it returns all the results.

tasks : list[int,str], optional
Expand Down
4 changes: 2 additions & 2 deletions openml/utils/_openml.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _list_all( # noqa: C901
*,
limit: int | None = None,
offset: int | None = None,
batch_size: int | None = 10_000,
batch_size: int | None = 1000,
) -> list[_SizedT]:
"""Helper to handle paged listing requests.

Expand Down Expand Up @@ -279,7 +279,7 @@ def _list_all( # noqa: C901
results: list[_SizedT] = []

offset = offset if offset is not None else 0
batch_size = batch_size if batch_size is not None else 10_000
batch_size = batch_size if batch_size is not None else 1000

LIMIT = limit
BATCH_SIZE_ORIG = batch_size
Expand Down
Loading