The invention discloses an oral
expired gas data preprocessing and batch
correction method based on PTR-TOF-MS. The method comprises the following steps: selecting a
spectrogram with a peak height and a stable waveform in a middle section, removing an instrument abnormal section without a peak height and / or lower than a sample inspection threshold value, and calculating an intersection-to-union ratio of an interval marked by an
intelligent agent to a high-confidence coefficient generated by manual marking or
simulation; if the intersection-to-union ratio exceeds a preset threshold value, giving positive rewards, if the intersection-to-union ratio does not exceed the preset threshold value, continuing to judge whether the starting point, the vertex and the end point of the spectrum peak are missed or repeatedly marked, if so, giving punishment, if not, continuing to judge whether the
noise interval is marked as the starting point, the vertex and the end point of the spectrum peak, and if so, giving additional punishment, training the strategy network; and outputting a structured peak
list from m / z intervals of a spectrum peak starting point, a peak and an end point for each sample, continuing to perform integral calculation, monotonic transformation and ComBat correction to obtain a final
data matrix, and realizing adaptive recognition of complex spectrum peaks and effective
elimination of batch effects.