Skip to content
Snippets Groups Projects
Commit d4177d0e authored by DIANE's avatar DIANE
Browse files

dict to dataframe

parent dbff7d5a
No related branches found
No related tags found
No related merge requests found
...@@ -54,10 +54,8 @@ class metrics: ...@@ -54,10 +54,8 @@ class metrics:
elif method == 'classification': elif method == 'classification':
perf[index[i]] = metrics.class_(phase[i][0], phase[i][1]) perf[index[i]] = metrics.class_(phase[i][0], phase[i][1])
if len(notnone) == 1:
self.ret = perf.T self.ret = DataFrame(perf).T
else:
self.ret = DataFrame(perf).T
@staticmethod @staticmethod
def reg_(meas, pred): def reg_(meas, pred):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment