Classification Model of Traditional Chinese Medicine Prescription Decocting Duration Combining Text Convolutional Neural Network with Attention Mechanism
- 1 College of Computer Sciences, Jiangxi University of Chinese Medicine, Nanchang, China
- 2 School of Pharmacy, Jiangxi University of Chinese Medicine, Nanchang, China
- 3 Department of Technical, Ganjiang New Area Zhiyao Shanhe Technology Co., Ltd, Nanchang, Jiangxi, China
- 4 Jiangxi Provincial Key Laboratory of Chinese Medicine Artificial Intelligence, Jiangxi University of Chinese Medicine, Nanchang, China
- 5 School of Mathematics and Computer Sciences, Nanchang University, Nanchang, China
- 6 Department of Nursing, Shanghai More Dental Hospital, Shanghai, China
Abstract
The decocting time of Traditional Chinese Medicine (TCM) formulas is crucial for therapeutic effects. To better capture the important characteristics related to the decocting time of TCM formulas, a formula decocting time classification model TextCNN-attention that integrates the attention mechanism and Text Convolutional Neural Network is proposed. This model predicts the decocting time of formulas and divides them into long-term, short-term, and medium-term decocting. First, the texture information of medicinal herbs is used to expand the TCM prescriptions. The attention mechanism is then used to learn the importance of each word or subsequence in the prescription text, and the medicinal materials and medicinal texture text in the prescription are weighed. Finally, TextCNN was used to classify the prescription extension text with decocting time labels. The experimental results show that compared with the baseline model, the proposed TextCNN-attention model can better understand the expanded text information of the prescription. The experimental prediction accuracy and F1 value are improved by 1.78 and 1.87%, respectively, indicating that the TextCNN-attention model has better performance in classifying text decoction duration after the formula was extended.
DOI: https://doi.org/10.3844/ajbbsp.2024.311.322
Copyright: © 2024 Zhibiao Li, Zhicheng Jiang, Jianqiang Du, Li Ning, Huayong Zhao, Yiwen Li and Zhenfeng Wu. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
- 680 Views
- 361 Downloads
- 0 Citations
Download
Keywords
- TCM Prescription
- Decocting Duration
- TextCNN
- Attention Mechanism