[+] Add error calculation

This commit is contained in:
wuliaozhiji
2022-02-06 16:03:37 -05:00
parent 4987e87e69
commit 6c75be0f39
+3
View File
@@ -53,5 +53,8 @@ if __name__ == '__main__':
print('Precision M:', precision_m)
print('Recall M:', recall_m)
print('F wrongly classified as M:', fp / (tp + fp))
print('M wrongly classified as F:', fn / (tn + fn))