We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e354b04 commit dfe864aCopy full SHA for dfe864a
1 file changed
openml/runs/functions.py
@@ -401,7 +401,7 @@ def _run_task_get_arffcontent(
401
range(num_reps),
402
range(num_folds),
403
range(num_samples),
404
- )):
+ ), start=1):
405
406
train_indices, test_indices = task.get_train_test_split_indices(
407
repeat=rep_no, fold=fold_no, sample=sample_no)
@@ -508,7 +508,7 @@ def _calculate_local_measure(sklearn_fn, openml_name):
508
)
509
510
if len(traces) > 0:
511
- if len(traces) != n_fit + 1:
+ if len(traces) != n_fit:
512
raise ValueError(
513
'Did not find enough traces (expected {}, found {})'.format(n_fit, len(traces))
514
0 commit comments