The invention discloses a Raman spectrum joint classification and quantification method based on a prior fusion double-flow network, and belongs to the technical field of
spectral analysis and
chemometrics. The method comprises the following steps: acquiring Raman spectrum
original data, and preprocessing to obtain standardized spectrum data; raman spectrum
prior information is extracted, and a
prior information double-flow network containing classification and quantitative flow sub-networks is constructed; standardized data and
prior information are input, classification preheating-combined
fine tuning training is adopted, conflict is relieved by combining dynamic weighting and PCGrad, and samples are expanded through a physical consistency strategy synchronously;
processing unknown samples by using the trained network, and outputting categories and component contents; according to the method, weak peak information is mined through double-flow architecture and cross-flow attention, derivative
noise is suppressed, classification-quantification performance is balanced through double-task optimization, and
small sample overfitting is solved through physical expansion; on a
polycyclic aromatic hydrocarbon data set, classification and regression indexes are superior to those of a traditional method, the low-concentration / weak-peak scene precision and robustness are better, and the
engineering application prospect is good.