Provided in the present invention are a global
metabolic profile inference method and apparatus, and a
lung cancer prediction model construction method and apparatus. The global
metabolic profile inference method comprises: obtaining original
chromatography-
mass spectrometry data of a target sample; using a filter to perform, in a three-dimensional
point cloud space, a
convolution operation on data that is obtained by performing conversion on the basis of the original
chromatography-
mass spectrometry data, so as to down-sample the data into a two-dimensional matrix; on the basis of the two-dimensional matrix, constructing
mask images having a plurality of
mask proportions and a size consistent with the size of the two-dimensional matrix, so as to form a
mask image
library; and selecting a plurality of target mask images from the mask image
library, multiplying each target mask image by the two-dimensional matrix, inputting same into a trained
mass spectrometry
inference model based on a
convolutional neural network to perform disturbance prediction, and on the basis of the disturbance prediction, obtaining retention information of a sample corresponding to the currently input two-dimensional matrix, so as to infer a global
metabolic profile of a
metabolite in the target sample.