I have a binary classifier and I want to get the F1 score for both positive and negative classes. Lightning
uses TorchMetrics
to calculate scores. I found an implementation for F1 score, but it does not provide an option of returning scores for both classes in the binary case. Is there a way to get scores for both classes with TorchMetrics
?
Regards.