Hi, I am interested in computing the F1-score for a precision-recall curve. The equation to do this is (2*precision*recall)/(precision+recall).
The outputs "prec" (precision) and "tpr" (recall), however, are vectors. So, if we take (precision' * recall) / (precision + recall), we will end up with a vector.
Shouldn't the F1-score be a scalar ranging from 0 to 1? Thanks for your help.
Warm Regards
Comment only