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 1c285a8 commit ae2362bCopy full SHA for ae2362b
1 file changed
openml/runs/run.py
@@ -2,6 +2,7 @@
2
import json
3
import sys
4
import time
5
+import numpy as np
6
7
import arff
8
import xmltodict
@@ -181,7 +182,7 @@ def _attribute_list_to_dict(attribute_list):
181
182
y_pred = values_predict[rep][fold][last_sample]
183
y_true = values_correct[rep][fold][last_sample]
184
scores.append(sklearn_fn(y_true, y_pred, **kwargs))
- return scores
185
+ return np.array(scores)
186
187
def publish(self):
188
"""Publish a run to the OpenML server.
0 commit comments