Skip to content
This repository was archived by the owner on Apr 15, 2022. It is now read-only.

Commit e0103de

Browse files
authored
added conversion from np.float64 to builtin float type
1 parent 9add1e7 commit e0103de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splicemachine/ml/zeppelin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def get_results(self, output_type='dataframe'):
197197
else:
198198
metrics_row = Row('TPR', 'SPC', 'PPV', 'NPV',
199199
'FPR', 'FDR', 'FNR', 'ACC', 'F1', 'MCC')
200-
computed_row = metrics_row(*computed_metrics.values())
200+
computed_row = metrics_row(*[float(i) for i in computed_metrics.values()])
201201
computed_df = self.sqlContext.createDataFrame([computed_row])
202202
return computed_df
203203

0 commit comments

Comments
 (0)