{'fraction_non_alphanumeric': 0.02620689655172414, 'fraction_numerical': 0.0, 'mean_word_length': 5.482142857142857, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
LDA-based model for traditional Chinese medicine diagnosis

Based on Lejeune Dirichlet allocation (LDA) model and multi-relationship topic model in Diagnosis and treatment of traditional Chinese medicine (TCM), the Symptom TCM Treatment Diagnosis (STTD) model is purposed to extract topic structure of symptom, TCM, treatment and diagnosis from TCM clinical datum. This paper uses Gibbs sampling to do parameters reasoning and confirms the optimal number of topics according to the average similarity among topics. From the experimental results, given the symptoms of patient, STTD model can predicts treatment, result of diagnosis, TCM and the distribution of topic. And it is available for clinical doctors and researchers.