Beispiel #1
0
    def log_final_confusion_matrix(self, cms):
        final_confusion_matrix = [[0,0], [0,0]]

        for cm in cms:
            final_confusion_matrix[0][0] += cm[0][0]
            final_confusion_matrix[0][1] += cm[0][1]
            final_confusion_matrix[1][0] += cm[1][0]
            final_confusion_matrix[1][1] += cm[1][1]

        log_confusion_matrix(self.log, final_confusion_matrix)