Table 1 Confusion matrix for the detection of 5% cow milk in goat milk using an LDA prediction model based on liquid AP-MALDI MS profiles.

From: Speciation and milk adulteration analysis by rapid ambient liquid MALDI mass spectrometry profiling using machine learning

 

Condition

 

Positive (5% cow milk in goat milk)

Negative (100% goat milk)

Test results

Positive (5% cow milk in goat milk)

TP 98

FP 5

Positive predictive value ≈ 95.1%

Negative (100% goat milk)

FN 8

TN 107

Negative predictive value ≈ 93.0%

 

Sensitivity ≈ 92.5%

Specificity ≈ 94.5%

 
  1. The ‘Condition’ columns indicate the real nature of the samples analyzed. The rows ‘Test results’ indicate the results obtained by the classification model. Positives are defined as milk samples with 5% cow milk. Negatives are defined as milk samples without cow milk.
  2. TP true positives, FP false positives, FN false negatives, TN true negatives.