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

Commit a05f865

Browse files
authored
Update zeppelin.py
1 parent 3c65cad commit a05f865

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
@@ -189,7 +189,7 @@ def get_results(self, output_type='dataframe'):
189189
"FDR": float(FP) / (FP + TP),
190190
"FNR": float(FN) / (FN + TP),
191191
"ACC": float(TP + TN) / (TP + FN + FP + TN),
192-
"F1": float(2 * TP) / (2 * TP + FP + FN)
192+
"F1": float(2 * TP) / (2 * TP + FP + FN),
193193
"MCC": float(float(TP*TN - FP*FN) / np.sqrt((TP+FP)*(TP+FN)*(TN+FP)*(TN+FN)))
194194
}
195195

0 commit comments

Comments
 (0)