Closed sfluegel05 closed 3 months ago
Currently, we use the torchmetrics library for metrics. However, we also have a custom implementation for the macro-f1.
update
MultilabelF1Score
ba = (tpr + tnr)/2 = (tp/(tp+fn) + tn(tn+fp))/2
Currently, we use the torchmetrics library for metrics. However, we also have a custom implementation for the macro-f1.
Test the Macro-F1
update
function) and calculation via a single callMultilabelF1Score
Document implementation
Add balanced accuracy metric
ba = (tpr + tnr)/2 = (tp/(tp+fn) + tn(tn+fp))/2