Skip to main content

Table 5 Confusion matrix

From: AttentionDDI: Siamese attention-based deep learning method for drug–drug interaction predictions

  

True interactions

  
  

Positive

Negative

 

Predicted

Positive

TP

FP

\(\mathbf{Precision} = TP / (TP + FP)\)

Interactions

Negative

FN

TN

  

\(\mathbf{TPR} , \mathbf{Recall} =TP / (TP + FN)\)

\(\mathbf{FPR} =FP / (FP + TN)\)