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.
2 parents d855a51 + 704cb2d commit 93baddaCopy full SHA for 93badda
1 file changed
openml/runs/functions.py
@@ -92,6 +92,7 @@ def _run_task_get_arffcontent(model, task, class_labels):
92
PredY = model.predict(testX)
93
94
for i in range(0, len(test_indices)):
95
+ assert(len(ProbaY[i]) == len(class_labels)), 'Predicted probabilities and available classes do not match. (sklearn bug?) '
96
arff_line = [rep_no, fold_no, test_indices[i]]
97
arff_line.extend(ProbaY[i])
98
arff_line.append(class_labels[PredY[i]])
0 commit comments