Farzam Matinfar1, Ali Tavakoli Golpaygani2. 1. PhD, Department of Statistics, Mathematics, and Computer Science, Allameh Tabataba'i University, Iran. 2. PhD, Department of Biomedical Engineering, Standard Research Institute, Karaj, Iran.
In most developing countries, inadequate medical experts and high cost of healthcare are the main problems of patients, suffering from various diseases.
In some counties, accessing to the cheaper healthcare services is time-consuming; however, some disease should be treated as soon as possible due to the disease’s nature.
Infectious diseases spread and death risks are some of the results of late treatment. Therefore, reducing the cost and initial treatment of the patient should be considered in healthcare system.Multiple sclerosis (MS) is an unpredictable, often disabling disease related to the nervous system. Central nervous system (CNS) is damaged by MS disease and the cause is still unknown.
In this disease, immune system attacks a material called Myelin (wraps around nerve fibers to protect them) and brain is not able to send signal through body appropriately.MS disease can affect all parts of the body. Different parts of CNS can be damaged resulting to various symptoms. For example, peripheral nerves in kidney may
cause abnormal condition in kidney. This disease should be diagnosed as soon as possible due to its potential danger. Symptoms and signs of this disease can be
used to decide whether the patient should refer to a doctor or not. Moreover, specialist can benefit from these symptoms to diagnose the patients.Uncertainty is the inherent nature in the diagnosis of the disease [ 1
]. In the diagnosis of disease, there several uncertain variables, which make the diagnosis process complex. This uncertainty relates to the inexact observations
and feelings of patients. For example, when a user is asked about his/her weakness, sometimes he/she is not certain about his/her answer.
Thus, answers such as “somewhat” can be seen in many situations.Over the years, artificial intelligence methods and techniques have been applied in medical domain to improve the efficiency of the diagnosis, controlling, analysis, and monitoring.
Fuzzy logic is one of the branches, which can handle the uncertainty and linguistic ambiguity. Besides, expert system is a computer system which has the decision making ability of a human expert [ 2
]. It employs human knowledge to solve problems, which need human expertise. In expert systems, users interact with the applications to solve problems or receive recommendations.Expert systems have been applied in various domains such as medical applications. MYCIN was one of early rule-based expert systems designed for diagnosing blood infections.
Some of the expert systems are designed for diagnosis or decision support [ 3
, 4
]. They have been applied for diagnosing heart attack [ 5
], Meningitis [ 6
], iron deficiency anemia [ 7
], depression [ 8
], periodontal disease [ 9
], multiple sclerosis disease [ 10
], Uveitis [ 11
], coronary artery disease screening [ 12
].Regarding to the importance of treatment and diagnosis of MS disease, this paper presents an expert system, which is able to evaluate the symptoms and signs of the
patients suffering from MS. Patients enter their symptoms and signs and the designed system can recommend them to refer to a doctor. Many patients underestimate
their symptoms, which may result to disabling conditions. Therefore, this system can provide recommendations reducing the potential danger.
Therefore, early and cheap investigation is beneficial for many patients. Moreover, the output of the proposed expert system as a consultation system gives guidance
for doctors to understand the current state of the MS patients. Based on the output the expert system, unnecessary tests can be avoided or doctors can prescribe
other related tests such as MRI test. In this paper, we designed a fuzzy expert system (FESMS) to handle uncertainty and analyze patients’ symptoms related to MS disease.
Material and Methods
Fuzzy logic
In this empirical study, Fuzzy logic can handle uncertainties in various domains. One of the areas which fuzzy logic can be applied is medical diagnosis.
In fuzzy set theory, linguistic terms, symbolic and numerical values are mapped to each other [ 13
]. Fuzzy variables and fuzzy sets are two main parts of the fuzzy logic representing linguistic terms and their ranges, respectively. Finally, defuzzification process returns a crisp value as an output.Fuzzy set A is represented as follows:Where µA(x) is called the membership function for the fuzzy set A. X is referred to as the universe of discourse.
The membership function associates each element x Є X with a value in the interval [0, 1].Fuzzy set qualifiers and operators play an important role in fuzzy logic. Fuzzy set qualifiers called Hedges are applied to modify the shape of fuzzy sets. Some of these hedges are defined as follows:Fuzzy logic operators used in this paper are used to combine various variables in rules. They include:Union:(1)Intersection:(2)Complement:(3)Defuzzification step calculates the output based on input fuzzy sets and rules. It can be done in several ways:- Center of sums method- Center of gravity- Center of area- Weighted average method- Maxima methodsCenter of gravity is one the widely used methods in this step and is calculated using formula (4):(4)Where x indicates the sample element, is the membership function, and n represents the number of elements in the sample.
Expert system
Expert systems consist of three main parts: long-term memory, short-term memory, an inference engine and possibly a user interface.
The long-term memory contains the knowledge base which can be acquired from domain experts and related corpus. The short-term memory contains the facts presented by the
end users and conclusions obtained by inference engine. Inference engine is the core of expert system, which processes the knowledge, facts and logical rules.
The output of the inference engine can be used for decision-making, guidance, diagnosis, monitoring.
Architecture of FESMS
The main technical goal of this work is to analyze the symptoms and demographic characteristics of potential MS patients. The architecture of the designed system
is shown in Figure 1. This system is implemented in MATLAB environment.
Figure 1
Architecture of the fuzzy expert system (FESMS)
Architecture of the fuzzy expert system (FESMS)Knowledge base contains the MS related knowledge, which the experts have, and the symptoms and their effects on disease diagnose. We benefit from Clinically Isolated Syndrome (CIS)
as a basis of knowledge base which is a term that describes the first clinical status of a disease showing characteristics of inflammatory demyelination that could be MS,
but has yet to fulfill criteria of dissemination in time [ 14
]. Moreover, CIS is often used in the first step to in MS diagnosis. The most common presentation for clinically definite MS include three categories [ 15 ].
1. Optic neuritis
A common symptom of MS is optic neuritis which is usually appears in one eye. This symptom has been present in 17% and 8% of African-Americans and Caucasians, respectively [ 16
]. Therefore, optic neuritis is one of the main symptoms for MS prediction. It includes various signs such as eye movement with pain, and loss of color vision.
2. Brainstem
Brain stem has the task of controlling messages between brain and other parts. It includes signs such as Ataxia, Vertigo.
3. Spinal cord
Spinal cord connects the brain and peripheral nervous system. Signs such as asymmetric limb weakness, and incomplete transverse myelitis belong to this category.In this paper, we have used first clinical presentations that mostly have been seen in MS patients. In this manner, optic neuritis and myelitis were the most frequent seen signs in MS patients [ 17
]. Moreover, demographic characteristics, including gender, and age have been considered in disease diagnosis. These variables constitute part of the knowledge base.As an example, fuzzy set related to age and unilateral reduced visual acuity are shown in Figures 2 and 3, respectively.
Figure 2
Age fuzzy set
Figure 3
Unilateral reduced visual acuity fuzzy set.
Age fuzzy setUnilateral reduced visual acuity fuzzy set.Rules are the other part of the knowledge base of expert system, deciding about the effect of variables on MS disease.The knowledge base of MS diagnosis comprises the following fuzzy rules:If X is A and ... and X is A then Y is BIf X is A and ... and X is A then Y is BWhich x represents the observed symptoms, A and B are fuzzy sets belong to symptoms and MS disease, respectively.In each rule, a symptom can be present (or not). Presence of demographic information, a symptom or a sign can affect the conclusion of a rule.
For example, females are more likely to get MS disease compared with males.Some of the rules are shown in Figure 4. For instance, the knowledge base includes the following rules:
Figure 4
Rules definition.
If is adult and is female and is
high then is very high.If is adult and is male and is high then is high.Rules definition.The next component of the designed expert system is inference engine. This component has the task of processing the patients’ symptoms, fuzzy sets, and rules.
Mamdani inference method is used in this system to produce the recommendations. In this system, the used method in defuzzification step is center of gravity presented in formula (4).
As an example that is shown in Figure 5, the output MS=67.3 is created recommending to the patient to have a consultation
with doctor (greater values than 25 are recommended for more investigation).
Figure 5
An example of inference based on user’s input
An example of inference based on user’s inputUsers provide their information, including symptoms using a user interface component and the recommendations are also displayed in it.
Results
We have conducted an experiment to evaluate the performance of the FESMS system. In this experiment, users are asked to enter their symptoms, signs and demographic information.
Regarding to the provided information, several rules are fired. FESMS is used to produce the prediction.We asked from 30 patients (who were referring to the MS specialist for the first time) to provide the needed information (symptoms). The output of the expert system
may recommend them to track their potential MS disease or not. We stored the recommendations in a database and then compared the recommendations with final diagnosis results.
The final results are acquired by normal treatments and tests such as MRI. The results of final diagnosis and recommendations are shown in Table 1.
Table 1
Final diagnosis vs expert system recommendations.
Final Diagnosis
FESMS Recommendation
All patients
30
30
Positive
12
19
Negative
18
11
FESMS: Fuzzy expert system
Final diagnosis vs expert system recommendations.FESMS: Fuzzy expert systemResults show that the designed expert system has recommended to 91.66% MS patients to refer to a doctor resulting to high recall.
This means that the expert system effectively diagnosed MS patients. By contrast, among 19 positive recommendations, only 11 had the disease resulting to near 58% precision.Moreover, we asked the doctors to present their initial opinion based on the symptoms and observations (before MRI test).
Finally, we compared the output of the expert system with the initial opinions. The comparison is shown in Table 2.
Results show that the efficiency of the expert system is close to the real expert (doctor). This closeness is one of the goals of expert systems to be applied instead of experts.
This means that patients can use FESMS effectively to get initial recommendations.
Table 2
Fuzzy expert system (FESMS) vs human expert
Initial doctor opinion (%)
FESMS (%)
Precision
62.50
57.89
Recall
83.33
91.66
F-measure
71.42
70.96
FESMS: Fuzzy expert system
Fuzzy expert system (FESMS) vs human expertFESMS: Fuzzy expert system
Discussion
The designed expert system gets the symptoms as inputs and provides appropriate response. The results show that, this system is able to identify 91.66% of MS patients.The expert system has recommended to several non-patients to refer to doctor. An important point in disease diagnosis is that recall measure is more critical than precision measure.
False recommendations reduce the system efficiency. However, eliminating some true recommendations is not tolerated. Ignoring such recommendations may cause serious
problems in future for MS patients. Therefore, the proposed system tries to recommend referring to a doctor if some minimum symptoms are observed.This research shows that first clinical presentations; besides, the demographic characteristics have an important role for early diagnosis of MS patients.
Moreover, fuzzy logic has managed symptoms and uncertainty effectively.
Conclusion
In this paper, we introduced FESMS as an expert system, enabling patients to evaluate their MS symptoms. It is possible to increase precision in this system resulting to lower recall.
However, recall is more important than precision in diagnosis systems and we have considered this fact in FESMS. Moreover, this system presents effective recommendations,
which can be beneficial in terms of cost and expert availability.In future, we will design a more sophisticated expert system by considering more symptoms. Moreover, we will present more than one recommendation in the
expert system based on the type of symptoms and fuse them to provide the final output.
Acknowledgement
This work was supported by the Allameh Tabataba’i University. Moreover, I appreciate from Shahrzad Matinfar for medical information provision and other anonymous
persons who helped to conduct experiments.
Authors’ Contribution
F. Matinfar proposed the idea. The introduction of the paper was written by F. Matinfar. The related literature was gathered by F. Matinfar and A. Tavakoli Golpaygani.
The method implementation was carried out by F. Matinfar. Results and Analysis was provided by F. Matinfar and A. Tavakoli Golpaygani.
The paper was proofread by A. Tavakoli Golpaygani. All the authors read, modified, and approved the final version of the manuscript.
Ethical Approval
The data was not extracted in real patients.
Funding
This study was supported by Allameh Tabataba’i University.
Authors: B A C Cree; O Khan; D Bourdette; D S Goodin; J A Cohen; R A Marrie; D Glidden; B Weinstock-Guttman; D Reich; N Patterson; J L Haines; M Pericak-Vance; C DeLoa; J R Oksenberg; S L Hauser Journal: Neurology Date: 2004-12-14 Impact factor: 9.910
Authors: Fred D Lublin; Stephen C Reingold; Jeffrey A Cohen; Gary R Cutter; Per Soelberg Sørensen; Alan J Thompson; Jerry S Wolinsky; Laura J Balcer; Brenda Banwell; Frederik Barkhof; Bruce Bebo; Peter A Calabresi; Michel Clanet; Giancarlo Comi; Robert J Fox; Mark S Freedman; Andrew D Goodman; Matilde Inglese; Ludwig Kappos; Bernd C Kieseier; John A Lincoln; Catherine Lubetzki; Aaron E Miller; Xavier Montalban; Paul W O'Connor; John Petkau; Carlo Pozzilli; Richard A Rudick; Maria Pia Sormani; Olaf Stüve; Emmanuelle Waubant; Chris H Polman Journal: Neurology Date: 2014-05-28 Impact factor: 9.910