A method of generating training spectra for training of a neural network includes generating a plurality of theoretically generated initial spectra from an optical model, sending the plurality of theoretically generated initial spectra to a feedforward neural network to generate a plurality of modified theoretically generated spectra, sending an output of the feedforward neural network and empirically collected spectra to a discriminatory convolutional neural network, determining that the discriminatory convolutional neural network does not discriminate between the modified theoretically generated spectra and empirically collected spectra, and thereafter, generating a plurality of training spectra from the feedforward neural network.
Training Spectrum Generation for Machine Learning System for Spectrographic Monitoring