Solve

Compute the F1 score for pneumonia and mass separately based on the following retrieved labels and ground truth: