| Literature DB >> 32560732 |
Dominik Spinczyk1, Mateusz Bas2, Mariusz Dzieciątko3, Michał Maćkowski4, Katarzyna Rojewska5, Stella Maćkowska2.
Abstract
BACKGROUND: Anorexia nervosa is a clinical disorder syndrome of the wide spectrum without a fully recognized etiology. The necessary issue in the clinical diagnostic process is to detect the causes of this disease (e.g., my body image, food, family, peers), which the therapist gradually comes to by verifying assumptions using proper methods and tools for diagnostic process. When a person is diagnosed with anorexia, a clinician (a doctor, a therapist or a psychologist) proposes a therapeutic diagnosis and considers the kind of treatment that should be applied. This process is also continued during therapeutic diagnosis. In both cases, it is recommended to apply computer-aided tools designed for testing and confirming the assumptions made by a psychologist. The paper aims to present the computer-aided therapeutic diagnosis method for anorexia. The proposed method consists of 4 stages: free statements of a patient about his/her body image, the general sentiment analysis of statement based on Recurrent Neural Network, assessment of the intensity of five basic emotions: happiness, anger, sadness, fear and disgust (using the Nencki Affective Word List and conversion of words to their basic form), and the assessment of particular areas of difficulties-the sentiment analysis based on the dictionary approach was applied.Entities:
Keywords: Affective verbal stimuli; Anorexia nervosa; Emotion; Nencki Affective Word List; Sentiment analysis; Sentiment dictionary; Text classifiers; Text mining
Mesh:
Year: 2020 PMID: 32560732 PMCID: PMC7304093 DOI: 10.1186/s12938-020-00798-9
Source DB: PubMed Journal: Biomed Eng Online ISSN: 1475-925X Impact factor: 2.819
The sentiment analysis of a statement referring to “The image of the body”
| Document ID | Class label (expert) | Class label (RNN method) | Class label (dictionary method) | Probability of belonging to the indicated class in the RNN method | Quantitative value of sentiment in the dictionary method | |
|---|---|---|---|---|---|---|
| Pathological subjects (research group) | 1 | 1 | 0.58 | 0.33 | ||
| 2 | 1 | 0.93 | − 0.82 | |||
| 3 | 1 | 0.81 | − 0.43 | |||
| 4 | − 1 | 0.65 | − 0.60 | |||
| 5 | − 1 | 0.88 | − 0.67 | |||
| 6 | − 1 | 0.63 | − 1.00 | |||
| 7 | 1 | 0.72 | 0.33 | |||
| 8 | − 1 | 0.68 | − 1.00 | |||
| 9 | 1 | 0.58 | 0.33 | |||
| 10 | 1 | 0.68 | 1.00 | |||
| 11 | − 1 | 0.79 | − 0.60 | |||
| 12 | − 1 | 0.64 | − 1.00 | |||
| 13 | − 1 | 0.60 | − 1.00 | |||
| 14 | − 1 | 0.51 | − 0.71 | |||
| 15 | 1 | 0.81 | 0.29 | |||
| 16 | 1 | 0.82 | 0.33 | |||
| 17 | 1 | 0.96 | − 0.45 | |||
| 18 | − 1 | 0.99 | − 0.33 | |||
| 19 | − 1 | 0.98 | − 0.20 | |||
| 20 | − 1 | 1.00 | − 1.00 | |||
| 21 | 1 | 0.92 | 1.00 | |||
| 22 | 1 | 0.57 | − 1.00 | |||
| 23 | 1 | 0.65 | − 0.67 | |||
| 24 | − 1 | 0.67 | − 1.00 | |||
| 25 | − 1 | 0.95 | 1.00 | |||
| 26 | 1 | 0.75 | 1.00 | |||
| 27 | − 1 | 1.00 | − 0.33 | |||
| 28 | − 1 | 0.87 | − 0.50 | |||
| 29 | − 1 | 0.91 | 1.00 | |||
| 30 | 1 | 0.68 | − 1.00 | |||
| 31 | 1 | 0.82 | 0.60 | |||
| 32 | 1 | 1.00 | − 0.45 | |||
| 33 | − 1 | 0.91 | − 0.30 | |||
| 34 | − 1 | 0.72 | − 0.33 | |||
| 35 | − 1 | 0.98 | − 1.00 | |||
| 36 | 1 | 0.84 | 0.33 | |||
| 37 | − 1 | 0.99 | − 1.00 | |||
| 38 | 1 | 0.95 | 0.33 | |||
| 39 | − 1 | 0.72 | − 1.00 | |||
| 40 | − 1 | 0.85 | 0.33 | |||
| 41 | 1 | 0.95 | 1.00 | |||
| 42 | − 1 | 0.99 | − 0.33 | |||
| 43 | − 1 | 0.50 | − 0.60 | |||
| 44 | − 1 | 0.96 | 1.00 | |||
| Healthy subjects (control group) | 1 | 0 | 0.82 | 0.33 | ||
| 2 | 1 | 0.96 | 1.00 | |||
| 3 | 1 | 0.99 | 1.00 | |||
| 4 | − 1 | 0.98 | − 0.14 | |||
| 5 | 1 | 1.00 | − 1.00 | |||
| 6 | 0 | 0.92 | 0.00 | |||
| 7 | 1 | 0.57 | − 0.08 | |||
| 8 | 0 | 0.65 | − 0.33 | |||
| 9 | 0 | 0.67 | 1.00 | |||
| 10 | 1 | 0.95 | 1.00 | |||
| 11 | 0 | 0.75 | − 1.00 | |||
| 12 | 1 | 1.00 | 0.20 | |||
| 13 | − 1 | 0.87 | 0.50 | |||
| 14 | 1 | 0.91 | − 0.33 | |||
| 15 | 1 | 0.68 | 1.00 | |||
| 16 | − 1 | 0.82 | 0.00 | |||
| 17 | 0 | 1.00 | 0.00 | |||
| 18 | 1 | 0.91 | 0.33 | |||
| 19 | 1 | 0.72 | 0.67 | |||
| 20 | 1 | 0.98 | − 1.00 | |||
| 21 | 1 | 0.84 | 1.00 | |||
| 22 | 1 | 0.99 | 0.20 | |||
| 23 | 1 | 0.95 | − 0.53 | |||
| 24 | − 1 | 0.72 | 0.60 | |||
| 25 | 1 | 0.85 | 0.33 | |||
| 26 | 1 | 0.95 | 0.00 | |||
| 27 | 1 | 0.99 | 0.50 | |||
| 28 | 1 | 0.50 | 0.33 | |||
| 29 | 1 | 0.96 | 0.00 | |||
| 30 | 1 | 0.99 | 0.00 | |||
| 31 | 1 | 0.51 | 0.00 | |||
| 32 | − 1 | 0.94 | 0.00 | |||
| 33 | 1 | 1.00 | 0.20 | |||
| 34 | 1 | 0.79 | − 0.33 | |||
| 35 | 1 | 0.94 | 1.00 | |||
| 36 | 1 | 0.80 | 1.00 | |||
| 37 | − 1 | 0.67 | − 1.00 | |||
| 38 | − 1 | 0.68 | 1.00 | |||
| 39 | − 1 | 0.71 | 0.33 | |||
| 40 | 1 | 0.95 | 0.33 | |||
| 41 | 1 | 0.99 | 0.33 | |||
| 42 | 1 | 0.97 | − 0.14 | |||
| 43 | 1 | 1.00 | 0.00 | |||
| 44 | 1 | 0.57 | 0.00 | |||
| 45 | 0 | 0.50 | − 0.14 | |||
| 46 | 1 | 0.94 | 1.00 | |||
| 47 | 1 | 0.91 | 0.50 | |||
| 48 | 1 | 0.74 | 0.50 | |||
| 49 | − 1 | 0.65 | 1.00 | |||
| 50 | 1 | 1.00 | 0.33 | |||
| 51 | − 1 | − 0.90 | 0.50 | |||
| 52 | 1 | 1.00 | 0.60 |
Bold font indicates that the prediction matches the expert’s opinion; italics indicate that the prediction does not match the expert’s opinion
Fig. 1The comparison of sentiment analysis in the research and control group
Fig. 2The chart presenting the sentiment classification errors in research and control group
Comparison of the number of sentiment classification errors [%]
| Kind of group | Sentiment | Methods | |
|---|---|---|---|
| RNN | Dictionary | ||
| Research group | Positive | 11.63 | 20.93 |
| Negative | 23.26 | 9.30 | |
| Neutral | 0.00 | 0.00 | |
| Percentage of mistake | 34.88 | 30.23 | |
| Control group | Positive | 5.77 | 25.00 |
| Negative | 7.69 | 15.38 | |
| Neutral | 13.46 | 9.62 | |
| Percentage of mistake | 26.92 | 40.38 | |
| Percentage of classification errors | 30.53 | 35.79 | |
True-positive rate, true-negative rate, positive predictive value, negative predictive value and F-score sentiment classification quality measures of RNN classifier and dictionary method for positive, neutral and negative sentiment labels and overall means of presented measures
| RNN | Dictionary | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| TPR | TNR | PPV | NPV | F1-score | TPR | TNR | PPV | NPV | F1-score | |
| Positive label | 0.87 | 0.57 | 0.73 | 0.77 | 0.79 | 0.64 | 0.71 | 0.74 | 0.60 | 0.69 |
| Neutral label | – | 1.00 | – | 0.93 | – | – | 0.91 | – | 0.94 | – |
| Negative label | 0.57 | 0.82 | 0.65 | 0.77 | 0.61 | 0.66 | 0.73 | 0.58 | 0.79 | 0.61 |
| Mean | 0.72 | 0.80 | 0.69 | 0.82 | 0.70 | 0.65 | 0.78 | 0.66 | 0.78 | 0.65 |
Statistical significance results of Wilcoxon matched-pairs signed-ranks test
| Diseased (research group) and healthy (control group) combined | |||
|---|---|---|---|
| Expert labels | Dictionary labels | RNN labels | |
| Expert labels | |||
| Dictionary labels | |||
| RNN labels | |||
Bolditalics indicate a statistically significant agreement between the predictions received and the expert’s opinion
Analysis of five basic emotions: happiness, anger, sadness, fear and disgust referring to the statement “The image of one’s body”
| Document ID | Happiness | Sadness | Fear | Disgust | Anger | |
|---|---|---|---|---|---|---|
| Pathological subjects (research group) | 1 | 1.00 | ||||
| 2 | 0.82 | 0.23 | ||||
| 3 | 0.75 | 0.076 | ||||
| 4 | ||||||
| 5 | 0.84 | 0.095 | 0.12 | |||
| 6 | 0.53 | |||||
| 7 | 0.75 | 0.095 | ||||
| 8 | 0.59 | |||||
| 9 | 1.00 | 0.33 | ||||
| 10 | 0.67 | |||||
| 11 | ||||||
| 12 | 0.53 | |||||
| 13 | ||||||
| 14 | ||||||
| 15 | 0.55 | 0.53 | ||||
| 16 | 0.78 | |||||
| 17 | 0.82 | 0.24 | ||||
| 18 | 0.75 | 0.076 | ||||
| 19 | ||||||
| 20 | ||||||
| 21 | 0.84 | 0.089 | ||||
| 22 | 0.53 | |||||
| 23 | 0.75 | 0.095 | ||||
| 24 | 0.59 | |||||
| 25 | 1.00 | 0.32 | ||||
| 26 | 0.67 | 0.095 | ||||
| 27 | ||||||
| 28 | 0.53 | |||||
| 29 | ||||||
| 30 | ||||||
| 31 | 0.78 | |||||
| 32 | 0.82 | 0.24 | ||||
| 33 | 0.75 | 0.076 | ||||
| 34 | ||||||
| 35 | 0.12 | |||||
| 36 | 0.84 | 0.089 | ||||
| 37 | 0.53 | |||||
| 38 | 0.75 | 0.095 | ||||
| 39 | 0.59 | |||||
| 40 | 0.32 | |||||
| 41 | 0.67 | |||||
| 42 | ||||||
| 43 | 0.54 | |||||
| 44 | ||||||
| Healthy subjects (control group) | 1 | 0.53 | ||||
| 2 | 0.64 | |||||
| 3 | ||||||
| 4 | ||||||
| 5 | 0.60 | |||||
| 6 | 0.53 | |||||
| 7 | ||||||
| 8 | ||||||
| 9 | ||||||
| 10 | 0.54 | |||||
| 11 | 0.87 | |||||
| 12 | 0.81 | |||||
| 13 | ||||||
| 14 | ||||||
| 15 | ||||||
| 16 | 0.89 | 0.54 | 0.31 | 0.32 | ||
| 17 | 0.67 | |||||
| 18 | 0.53 | |||||
| 19 | 0.81 | |||||
| 20 | 0.67 | |||||
| 21 | 0.32 | |||||
| 22 | ||||||
| 23 | ||||||
| 24 | ||||||
| 25 | 0.32 | |||||
| 26 | ||||||
| 27 | 0.89 | |||||
| 28 | ||||||
| 29 | ||||||
| 30 | 0.72 | 0.03 | ||||
| 31 | ||||||
| 32 | 0.91 | |||||
| 33 | ||||||
| 34 | 0.08 | |||||
| 35 | 0.73 | |||||
| 36 | 0.98 | |||||
| 37 | ||||||
| 38 | 0.90 | 0.10 | ||||
| 39 | ||||||
| 40 | 1.00 | |||||
| 41 | 0.91 | |||||
| 42 | 0.71 | |||||
| 43 | 0.75 | |||||
| 44 | 0.60 | |||||
| 45 | ||||||
| 46 | ||||||
| 47 | ||||||
| 48 | 0.78 | 0.21 | ||||
| 49 | ||||||
| 50 | 0.69 | |||||
| 51 | ||||||
| 52 | 0.53 |
Fig. 3The chart of detailed areas of difficulties for an individual patient from the research group
Fig. 4The diagram of the proposed method of computer-aided therapeutic diagnosis for anorexia: a sentiment analysis based on RNN, b statistical emotion classifier using Nencki Affective Word List
Fig. 5The outline of the applied RNN network for sentiment analysis of the entire document
Fig. 6Learning curves for training and validation data set
Fig. 7The schema of document processing phases into the list of words into their basic grammatical form
Fig. 8The schema of taxonomy used for determining the intensity of five basic emotions