Table 2 Confusion matrix for the detection of 10% 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 (10% cow milk in goat milk)

Negative (100% goat milk)

Test results

Positive (10% cow milk in goat milk)

TP 111

FP 1

Positive predictive value ≈ 99.2%

Negative (100% goat milk)

FN 1

TN 117

Negative predictive value ≈ 99.1%

 

Sensitivity ≈ 99.2%

Specificity ≈ 99.1%

 
  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 10% cow milk. Negatives are defined as milk samples without cow milk.
  2. TP true positives, FP false positives, FN false negatives, TN true negatives.