Traditional Chinese medicine disease classification based on sparrow search algorithm

  • Xiaofo Li Anhui University of Chinese Medicine, Hefei 230000, China
  • Ningjie Ma Anhui University of Chinese Medicine, Hefei 230000, China
  • Hongxing Kan Anhui University of Chinese Medicine, Hefei 230000, China
  • Yongsheng Han Neurology Research Institute, Anhui University of Chinese Medicine, Hefei 230008, China
Keywords: machine learning; TCM disease classification; random forest; sparrow search algorithm
Article ID: 1696

Abstract

This study aims to explore the application of various basic machine learning algorithms in the task of TCM (Traditional Chinese Medicine) disease classification, and select the best performing model for optimization through comparative analysis. After experimental verification, the random forest model has excellent performance in various evaluation indexes, and its accuracy and recall are 65.1%, 65.1%, respectively, showing its comprehensive performance advantage in the classification of TCM disease types. In order to further improve the performance of the model, the sparrow search algorithm was introduced to optimize the random forest model. The performance of the optimized model on the test set is significantly improved, with an accuracy of 74.4%, a recall rate of 70.2%, an accuracy rate of 76.3%, and an F1 score of 73.1%. Compared with the random forest model before optimization, the accuracy of the optimized model increased by 9.3%, the recall rate increased by 0.51, the accuracy rate increased by 9.1%, and the F1 score increased by 8%. These results show that the sparrow search algorithm has a significant effect in optimizing the random forest model, and can effectively improve the performance of the model in the task of TCM disease classification. This study not only verified the applicability of random forest model in TCM disease classification, but also improved the classification effect of the model through the introduction of sparrow search algorithm.

References

1. Chen Z, Zhang D, Liu C, et al. Traditional Chinese medicine diagnostic prediction model for holistic syndrome differentiation based on deep learning. Integrative Medicine Research. 2024; 13(1): 101019. doi: 10.1016/j.imr.2023.101019

2. Hu H, Cheng C, Ye Q, et al. Enhancing traditional Chinese medicine diagnostics: Integrating ontological knowledge for multi-label symptom entity classification. Mathematical Biosciences and Engineering. 2023; 21(1): 369-391. doi: 10.3934/mbe.2024017

3. Gong A, Guo L, Yu Y, et al. Spectrum-image dual-modality fusion empowered accurate and efficient classification system for traditional Chinese medicine. Information Fusion. 2024; 101: 101981. doi: 10.1016/j.inffus.2023.101981

4. Tian D, Chen W, Xu D, et al. A review of traditional Chinese medicine diagnosis using machine learning: Inspection, auscultation-olfaction, inquiry, and palpation. Computers in Biology and Medicine. 2024; 170: 108074. doi: 10.1016/j.compbiomed.2024.108074

5. Jiang Q, Huang W, Liang J, et al. A novel intelligent model for visualized inference of medical diagnosis: A case of TCM. Artificial Intelligence in Medicine. 2024; 149: 102799. doi: 10.1016/j.artmed.2024.102799

6. Ni T, Liu Y, Huang M, et al. Association Between Anemia Status and the Risk of Different Types of Heart Failure: A RCSCD-TCM Study in China. Angiology. 2023; 75(2): 190-196. doi: 10.1177/00033197231161908

7. Tao QF, Huang YB, Yuan L, et al. Acupuncture versus tricyclic antidepressants in the prophylactic treatment of tension-type headaches: an indirect treatment comparison meta-analysis. The Journal of Headache and Pain. 2024; 25(1). doi: 10.1186/s10194-024-01776-5

8. Chen H, Wang X, Zhang J, et al. Exploration of TCM syndrome types of the material basis and risk prediction of Wilson disease liver fibrosis based on 1H NMR metabolomics. Journal of Pharmaceutical and Biomedical Analysis. 2024; 245: 116167. doi: 10.1016/j.jpba.2024.116167

9. Singh A, Dhau J, Kumar R, et al. Tailored carbon materials (TCM) for enhancing photocatalytic degradation of polyaromatic hydrocarbons. Progress in Materials Science. 2024; 144: 101289. doi: 10.1016/j.pmatsci.2024.101289

10. Wang Y, Wang DD, Pucka AQ, et al. Differential clinical characteristics across traditional Chinese medicine (TCM) Syndromes in patients with sickle cell disease. Frontiers in Pain Research. 2024; 4. doi: 10.3389/fpain.2023.1233293

11. Asghar MZ, Lajis A, Alam MM, et al. A Deep Neural Network Model for the Detection and Classification of Emotions from Textual Content. Ahmad M, ed. Complexity. 2022; 2022(1). doi: 10.1155/2022/8221121

12. Cahyani DE, Patasik I. Performance comparison of tf-idf and word2vec models for emotion text classification. Bulletin of Electrical Engineering and Informatics. 2021; 10(5): 2780-2788. doi: 10.11591/eei.v10i5.3157

13. Deng J, Ren F. A Survey of Textual Emotion Recognition and Its Challenges. IEEE Transactions on Affective Computing. 2023; 14(1): 49-67. doi: 10.1109/taffc.2021.3053275

14. Gupta V, Jain N, Katariya P, et al. An Emotion Care Model using Multimodal Textual Analysis on COVID-19. Chaos, Solitons & Fractals. 2021; 144: 110708. doi: 10.1016/j.chaos.2021.110708

15. Liu Y, Fu G. Emotion recognition by deeply learned multi-channel textual and EEG features. Future Generation Computer Systems. 2021; 119: 1-6. doi: 10.1016/j.future.2021.01.010

16. Zhou X, Dong X, Li C, et al. TCM-FTP: Fine-Tuning Large Language Models for Herbal Prescription Prediction. In: Proceedings of the 2024 IEEE International Conference on Bioinformatics and Biomedicine (BIBM); 2024.

17. Wang Y, Wang Z, Tang B, et al. Discussion on the cultivation mode of professional postgraduate students of traditional Chinese medicine under the orientation of inheritance ability. Jiangsu Health Career Management. 2025; 36(1): 130-132+139.

18. Xu D, Zhou H, Quan W, et al. A new method proposed for realizing human gait pattern recognition: Inspirations for the application of sports and clinical gait analysis. Gait & Posture. 2024; 107: 293-305. doi: 10.1016/j.gaitpost.2023.10.019

19. Zhang M, Otsuki K, Li W. Molecular networking as a natural products discovery strategy. Acta Materia Medica. 2023; 2(2). doi: 10.15212/amm-2023-0007

20. Liu WC, Li MP, Huang HY, et al. Research trends of machine learning in traditional medicine: a big-data based ten-year bibliometric analysis. Traditional Medicine Research. 2023; 8(7): 37. doi: 10.53388/tmr20221113001

21. Li JT, Gu A, Tang NN, et al. Exploring anti-tumor potential of food and medicine homology substances: An in-silico evaluation of Citri Grandis Exocarpium against gallbladder cancer. Food & Medicine Homology; 2025.

Published
2025-03-18
How to Cite
Li, X., Ma, N., Kan, H., & Han, Y. (2025). Traditional Chinese medicine disease classification based on sparrow search algorithm. Molecular & Cellular Biomechanics, 22(4), 1696. https://doi.org/10.62617/mcb1696
Section
Article