Fig. 4: Evaluation metrics and performance comparison of the classification models.

a, b Confusion matrix, receiver operating characteristic (ROC), and precision-recall (PR) curve of the “Yes or No” model. c Structure classification accuracy across machine learning (ML) models verified on real structure spectral data (RSS), with color intensity representing accuracy levels. The vertical axis represents the training set, and the horizontal axis represents the model used.