Skip to main content

Table 2 Classification report of classification model (a) Partial least squares discriminant analysis (PLS-DA) model (b) Deep neural network (DNN) model

From: Machine learning for a rapid discrimination of ginseng cultivation age using 1H-NMR spectra

Label Precision (%) Recall (%) F1-score (%)
(a) PLS-DA
 4 years 94.1 96.0 95.0
 5 years 76.5 86.7 81.2
 6 years 87.1 75.0 80.6
 Weighted avg 87.4 87.1 87.0
(b) Deep learning
 4 years 96.2 100 98.1
 5 years 93.1 90.0 91.5
 6 years 91.4 88.8 90.1
 Weighted avg 93.9 93.9 93.9