This invention relates to the fields of clinical laboratory
medicine and
artificial intelligence, and provides a risk prediction method and device based on
machine learning for clinical
mass spectrometry. The risk prediction method includes: defining N+M dimensions of features based on a liquid
chromatography-
tandem mass spectrometry system to obtain an N+M dimension
feature vector structure; obtaining a
virtual training dataset based on the N+M dimension
feature vector structure, acquiring parameter values of each dimension of the current batch through a
data acquisition interface, and assembling them into N+M dimension
feature vector data; performing format
verification and invalid value filtering on the N+M dimension feature vector data using the N+M dimension feature vector structure to obtain a
feature matrix; and obtaining a standardized real-time risk
score based on the
feature matrix and a trained fusion-integrated risk prediction model. This invention utilizes a
machine learning model to uncover the complex nonlinear relationship between configuration parameters and dynamic parameters, thereby achieving more accurate and forward-looking risk warnings than traditional single-threshold methods.