The invention relates to the technical field of
drug purchase quantity prediction, in particular to an intelligent
drug purchase quantity prediction method using medical insurance consumption data, comprising the following steps: S1, acquiring historical medical insurance consumption data including
drug names, sales quantity, sales time,
medical institution information and
patient classification information; s2, preprocessing the medical insurance consumption data, including data cleaning, missing value filling and abnormal value correction, to form a standardized
data set; and S3, based on the standardized
data set, a drug demand
feature matrix X is constructed, and each row represents a
drug consumption record of one time period. According to the intelligent drug purchase quantity prediction method based on the medical insurance consumption data, trend, seasonal and random fluctuations are decomposed and separated through a
time sequence, and
noise interference is reduced; and combining an XGBoost and LSTM integrated model, comprehensively capturing a linear and nonlinear relationship, reducing a final prediction error rate, dynamically calculating a safe inventory threshold value, and avoiding excessive stockpiling of drugs.