Fig. 4: Four spectra predicted as PEVA by the model.

The top spectrum is a PEVA reference spectrum with eight numbered characteristic peaks38. The dashed line indicates a peak present in cellulose acetate but absent in PEVA. “True” indicates the true label, “Pred” indicates the predicted label. Absorbance is shown in arbitrary units (a.u.).