(self, label_preds, label_trues)
| 845 | return hist |
| 846 | |
| 847 | def update(self, label_preds, label_trues): |
| 848 | self.reduced_confusion_matrix = None |
| 849 | for lt, lp in zip(label_trues, label_preds): |
| 850 | self.confusion_matrix += self._fast_hist(lt.flatten(), lp.flatten(), self.n_classes) |
| 851 | |
| 852 | def reduce_scores(self): |
| 853 | hist = self.confusion_matrix |
nothing calls this directly
no test coverage detected