Provided are a drug quality-control analysis method, apparatus, device, and medium based on machine learning, relating to the field of information technology; the invention is primarily to expand the feature space of a machine learning model, and introduce disease attribute characteristics and drug attribute characteristics, thereby improving the accuracy of quality-control analysis of the model. The method comprises: determining an identification feature vector corresponding jointly to disease identification information and drug identification information; determining an attribute feature vector corresponding to the disease attribute information and the drug attribute information; determining the quality-control analysis result of the drug in the medical record of the patient according to the identification feature vector and the attribute feature vector. The invention relates to machine learning technology in artificial intelligence, is suitable for quality-control analysis of drugs, and is also suitable for use in the field of smart medical care, and thereby further promotes the construction of smart cities. In addition, the invention also relates to blockchain technology.
展开▼