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

Commit 8185f8e

Browse files
authored
fixed confusion matrix
1 parent d06bc57 commit 8185f8e

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
@@ -81,7 +81,7 @@ def show_confusion_matrix(sc, sqlContext, TP, TN, FP, FN):
8181
"""
8282
row = Row('', 'True', 'False')
8383
confusion_matrix = sqlContext.createDataFrame(
84-
[row('True', TP, FN), row('False', FP, TN)
84+
[row('True', TP, FN), row('False', FP, TN)])
8585
confusion_matrix.show()
8686

8787

0 commit comments

Comments
 (0)