Skip to main content
. Author manuscript; available in PMC: 2024 May 3.
Published in final edited form as: Phys Med Biol. 2023 May 3;68(9):10.1088/1361-6560/accdb0. doi: 10.1088/1361-6560/accdb0

Table 1.

Definitions for various retrieval (multiclass) evaluation metrics. Each metric is computed for the top-k images returned by the retrieval systems.

Definition

Accuracy@k f(k)=1Nclassesi=1Nclassestp+tntp+fp+fn+tn
Precision@k f(k)=1Nclassesi=1Nclassestptp+fp
Recall@k f(k)=1Nclassesi=1Nclassestptp+fn
F1score@k f(k)=2PrecisionRecallPrecision+Recall

Retrieval Score s=k=1nf(k)(12)k

tp := true positives, tn := true negatives

fp := false positives, fn := false negatives