The invention discloses a near
infrared spectrum data enhancement method and device based on
Gaussian joint distribution sampling, and relates to the field of data enhancement, and the method comprises the following steps: obtaining near
infrared spectrum data and chemical values of a sample; the method comprises the following steps: preprocessing a near
infrared spectrum, performing
standardization and zero-mean centralization
processing on a preprocessed spectrum matrix, performing synchronous centralization on chemical values, performing dimension reduction
processing on the standardized and centralized spectrum matrix, and splicing the dimension-reduced spectrum matrix and the centralized chemical values in sequence to construct a joint matrix; then, a sample
covariance matrix is calculated, regularization
processing is carried out, sampling is carried out from multivariate
Gaussian distribution based on the zero-
mean vector and the regularization
covariance matrix, and centralized virtual samples with the required number are obtained; and recovering the centralized
virtual sample to an original scale, and separating virtual dimension reduction data and virtual chemical values. According to the method, the problems of model
overfitting, low prediction precision and the like caused by insufficient samples during modeling in a
small sample scene can be solved.