The invention provides an agricultural product producing area
traceability method based on radioactive
energy spectrum analysis, and the method comprises the steps: collecting original
energy spectrum data of agricultural product samples of different batches of known agricultural products, carrying out the preprocessing of the original
energy spectrum data, and constructing an original energy spectrum
data matrix; performing
standardization processing on the original energy spectrum
data matrix, and performing dimension reduction on the standardized original energy spectrum
data matrix according to a preset
component analysis strategy to obtain a dimension-reduced principal component
feature matrix; constructing a production place classification model by adopting a
logistic regression algorithm, defining an objective function, converting the objective function into a probability function, and constructing a
loss function according to the probability function; and performing iterative training on the origin classification model according to the principal component
feature matrix until the
loss function converges, thereby obtaining the trained origin classification model. According to the method, seamless integration and efficient
parallel computing of heterogeneous computing power resources can be realized. According to the invention, rapid and accurate
traceability of the producing area of the agricultural product can be realized.