Our team proposed and constructed an Expert-knowledge and Data-driven Comprehensive Evaluation Model of Chinese Patent Medicine (EDCEM-CPM) using the machine learning algorithm. This model could improve the system of the comprehensive evaluation of the Chinese patent medicine in technology and provide measurement tools for Chinese patent medicine according to its characteristics. The model evaluates the multi-dimensional value of Chinese patent medicine by data pre-treatment, clustering algorithms, and data training steps, such as automatic learning weighting. This evaluation model is already in practice. In this paper, we introduced the establishment of the model with the calculation process for reference.