PresRecST: A novel herbal prescription recommendation algorithm for real-world patients with integration of syndrome differentiation and treatment planning
This repository contains source code and datasets for "PresRecST: A novel herbal prescription recommendation algorithm for real-world patients with integration of syndrome differentiation and treatment planning".
In this study, we proposed a novel herbal Prescription Recommendation network architecture for real-world patients with integration of Syndrome differentiation and Treatment planning (termed PresRecST, See Fig1 below), following the basic diagnostic and treatment process of real-world syndrome differentiation and treatment determination.
Fig1. Framework of PresRecST. The model takes the knowledge embedding matrices of SDTKG and the patient’s symptom set as input, and combines them with the residual-like neural network for recommending syndromes(SDM), treatment methods(TMM) and herbs(HRM) progressively.
$ conda create -n presrecst_env python=3.6
$ conda activate presrecst_env
$ pip install -r requirements.txt
The relevant data required by the model are uniformly placed in the "data" folder. This folder contains the following two data files:
To ensure data security, we have encoded the TCM-Lung dataset (i.e., each symptom/syndrome/treatment method/herb has been converted into an ID). If you require the full names for research purposes, please contact us via email: [email protected].
The python script file of the model is shown in this project, including the following files:
After running the "main_Lung.py" or "main_TCMPD.py" file, the Top@K performance results of the model on the testing set can be obtained. The result file is placed in the "result" folder, that is, the "Evaluation.xlsx" file. The result file contains four columns:
If you find PresRecST useful for your research, please consider citing the following paper:
@article{dong2024presrecst,
title={PresRecST: a novel herbal prescription recommendation algorithm for real-world patients with integration of syndrome differentiation and treatment planning},
author={Dong, Xin and Zhao, Chenxi and Song, Xinpeng and Zhang, Lei and Liu, Yu and Wu, Jun and Xu, Yiran and Xu, Ning and Liu, Jialing and Yu, Haibin and others},
journal={Journal of the American Medical Informatics Association},
volume={31},
number={6},
pages={1268--1279},
year={2024},
publisher={Oxford University Press}
}
If you have better suggestions or questions about our work, please contact us: [email protected].
Welcome to follow our project on GitHub: https://github.com/2020MEAI and https://github.com/xdong97 .