Literature DB >> 29560150

A fuzzy rule-based expert system for diagnosing cystic fibrosis.

Maryam Hassanzad1, Azam Orooji2, Ali Valinejadi3, Aliakbar Velayati4.   

Abstract

BACKGROUND: Finding a valid diagnosis is mostly a prolonged process. Current advances in the sector of artificial intelligence have led to the appearance of expert systems that enrich the experiences and capabilities of doctors for making decisions for their patients.
OBJECTIVE: The objective of this research was developing a fuzzy expert system for diagnosing Cystic Fibrosis (CF).
METHODS: Defining the risk factors and then, designing the fuzzy expert system for diagnosis of CF were carried out in this cross-sectional study. To evaluate the performance of the proposed system, a dataset that corresponded to 70 patients with respiratory disease who were serially admitted to the CF Clinic in the Pediatric Respiratory Diseases Center, Masih Daneshvari Hospital in Tehran, Iran during August 2016 to January 2017 was considered. Whole procedures of system construction were implemented in a MATLAB environment.
RESULTS: Results showed that the suggested system can be used as a strong diagnostic tool with 93.02% precision, 89.29% specificity, 95.24% sensitivity and 92.86% accuracy for diagnosing CF. There was also a good relationship between the user and the system through the appealing user interface.
CONCLUSION: The system is equipped with information, knowledge, and expertise from certified specialists; hence, as a training tool it can be useful for new physicians. It is worth mentioning that the accomplishment of this project depends on advocacy of decision making in CF diagnosis. Nevertheless, it is expected that the system will reduce the number of false positives and false negatives in unusual cases.

Entities:  

Keywords:  Cystic fibrosis; Expert systems; Fuzzy logic

Year:  2017        PMID: 29560150      PMCID: PMC5843424          DOI: 10.19082/5974

Source DB:  PubMed          Journal:  Electron Physician        ISSN: 2008-5842


1. Introduction

Providing accurate diagnosis and related treatment is arduous especially in cases of multiple differential diagnoses. Accordingly, finding the valid diagnosis is a lengthy process (1). Diagnosis and management of diseases are indeed a crucial task that cannot be acquired just from textbooks or classroom knowledge. It has to be acquired gradually through years of observation and experience. Moreover, most clinical cases are full of ambiguities altering in degree. During assessment, the patients portray their symptoms using adverbs such as “never, rarely, sometimes, often, mostly, and always” and each specific symptom may appear as “mild, moderate, or severe”. This reflects the fact that almost all the symptoms are experienced and described differently by each patient. Therefore, medical problems cannot be generalized or analyzed by using binary logic including “yes” or “no” options. So, an analytical program is needed. The best answer is utilizing fuzzy logic that has the capability of integrating human heuristics into computer-assisted decision making (2). Cystic fibrosis (CF) is one of the diseases that needs to consider multiple differential diagnoses; and finding accurate diagnosis is frequently an extended process. Based on the history of patients, the head (A.K.) of the CF referral center in Iran, declared that under-diagnosis of CF in Iran is significant. The carrier frequency of 2.5% (1 in 40) was defined from the frequency of heterozygous patients. It affirms that contrary to popular belief, CF might be a prevalent underdiagnosed disease in Iran. The median survival age in economically developed countries is about 40 years but it is significantly less in developing countries, such as Iran, where the incidence of CF has not been critically assessed (3). The elements that might be have participated to the broad domain of CF incidence published from Asian countries include (but are not limited to) under-diagnosis, under-reporting, deficiency of national registries, and mutability in the frequency of CF mutation carriers (4). Although there are no precise data about the prevalence of CF in different parts of Iran, the disease appears not to be rare in this country (5–7). Different Iranian populations originating from various geographical and ethnic groups, all with polymorphism of the CFTR gene, give rise to diversity of CFTR mutations in frequency and distribution (8–11). New attainments in the field of artificial intelligence have provided expert systems for medical applications. Moreover, in the last few decades computational tools have been designed to improve the experiences and abilities of physicians to find the optimal diagnosis. Expert system (ES) is an intelligent computer system including an orderly knowledge structure that emulates the experts’ problem-solving skills to make complicated decisions in a specific field. For example, expert systems in medical applications are being used for diagnosis. All the patient’s data and symptoms are fed into the system, which then processes the information into its possible diagnosis along with the suggested treatment and drugs prescription (12, 13). Rule-based expert systems are the most recognized of all knowledge-based systems. Knowledge is displayed in a structured arrangement of IF-THEN guidelines. Decision making in medical diagnosis is contingent on the experience, expertise and perception of the physician. Existence of more complications in the system will lead to more vagueness and doubt. Fuzzy logic has brought considerable change in eliminating ambiguity and uncertainty. Interpretation of information is based on the compositional rule of fuzzy inference. Besides, expert human knowledge is essential to specify the parameters. In such systems, the accumulated data from the domain experts should be transferred to knowledge and it should be used at the true time (12). Previous studies suggest that fuzzy relations should be considered as a good method to provide valid diagnoses and decision-making procedures in pediatrics. Therefore, expert knowledge can be utilized in the form of a fuzzy expert system in tracing and diagnosis of CF. It is suggested that utilizing this method, combined with the clinical tools for diagnosis of various diseases and conditions, may greatly decrease incorrect diagnoses. The fuzzy expert approach is more effective than machine-learning practices (14). Tables 1,2 depict the main expert systems that were developed for diagnosis purposes in various diseases and respiratory system diseases respectively. The objective of present study was developing an automated fuzzy expert system for diagnosing Cystic Fibrosis (CF) using the information related to risk factors and symptoms of this disease.
Table 1

The main expert systems that were developed for diagnosis purposes in different diseases

Ref. noYearDeveloped/ Proposed/ Designed/ Applied/ Evaluated/ System
152004a fuzzy expert system in the prediction of neonatal resuscitation
162008a fuzzy system for diagnosis of liver disorders
172009a systematic Type-II fuzzy expert system for diagnosing human brain tumors
182011a fuzzy expert system for the control of glycemia in type 1 diabetic patients
192011an expert system to assist dentists in treating mobile teeth
202011an expert system for diagnosis of breast cancer in order to differentiate between benign and malignant breast cancer based on neuro-fuzzy rules
212012a fuzzy system to learn, analyze and diagnose heart disease
22013a fuzzy expert system designed using MATLAB is proposed for identification of severity of CTS
222013an expert system for diagnosis of cervical neoplasia (CN) precursor injuries
232014a fuzzy expert system for spinal cord disorders
242014a fuzzy rule-based expert system for Multiple Sclerosis (MS) diagnosis
252015a type-2 fuzzy system that is diagnosing and differentiating Astrocytomas in MRI scans

2. Material and Methods

This research is a cross-sectional study conducted in three steps:

2.1. Definition of risk factors

A list of 50 substantial CF risk factors was found in medical literature and they were organized in a questionnaire. Then, three domain experts were asked to assign suitable weight between 1 (non-significant) to 5 (very significant) to the factors based on their significance in CF diagnosis. According to the completed questionnaires, 10 parameters with the highest weight were selected.

2.2. Designing Fuzzy Expert System

In order to diagnose Cystic Fibrosis (CF), fuzzy set theory was applied in this survey. A rule-based fuzzy expert system (FES) has been developed. It utilized the selected factors in the first step and simulated a specialist behavior to diagnose CF. Fuzzy expert systems are basically knowledge-based systems using Fuzzy logic, Fuzzy IF-THEN rules and Membership Functions (MF) (37). Figure 1 illustrates the common architecture of a fuzzy expert system displaying the flow of data throughout the system (38). Its basic structure entails four main components:
Figure 1

Common architecture of a fuzzy expert system (38)

A fuzzifier that interprets crisp input (classical numbers) into fuzzy values; An inference engine that uses a fuzzy reasoning function to take a fuzzy output (in the case of Mamdani inference); A knowledge base that includes a set of fuzzy rules and a set of membership functions displaying the fuzzy sets of linguistic variables; A defuzzifier that interprets fuzzy output into crisp values (39). The first step of designing a fuzzy expert system is to determine input and output variables (40). There are 10 input variables (including Sweat test, PH, BMI, Sputum, Dyspnea, Cough, Pseudomonas, Staphylococcus, Family history, and Abnormal stool) and 1 output variable (CF diagnosis). Secondly, the membership functions of all variables have to be designed. These membership functions specify the membership of objects to fuzzy sets. Membership functions were used for input variables according to both the literature review and domain expert opinions. The detailed description of input variables, fuzzy linguistic sets, and membership functions are displayed in Table 3. The decision process is done by the inference engine while using rules contained in the knowledge base. Knowledge base is the principal section in the fuzzy inference system that the performance of fuzzy system is dependent on its rules (40). These fuzzy rules determine the relation between fuzzy input and output. The formula to a fuzzy rule is; if antecedent, then consequent. Fuzzy operators express the antecedent, and the outcome is an expression that administers fuzzy values to the output variables. Since there were lots of input variables in this study, combining all possible inputs led to the construction of so many rules (for this paper about 2^10). However, in order to increase efficiency and reduce complications, only relevant rules were considered based on expert opinion. The knowledge used in the proposed system was collected based on the experts’ interviews and other scientific references such as books and websites. Moreover, the Mamdani min-max approach was adopted for the inference mechanism. First, input variables were compared with the membership functions of the antecedent part in obtaining the membership values of each linguistic term. Secondly, the membership values of the antecedent part were combined to deduce firing strength of each rule, and then the consequence or results of each rule were generated. Finally, the results or consequences were aggregated to produce a crisp value by a process called defuzzification. The crisp output was calculated by the center of gravity (COG) defuzzifier (41) by the following formula:
Table 3

Detailed description of input variables, fuzzy linguistic sets, and membership functions

TypeNo.Variable nameLinguistic setActual Range of VariableType of Membership Function
Input1Sweat testLow<60Sigmoidal
High>60Sigmoidal
2PHLow<7.35Gaussian
Normal>7.35 and <7.45Gaussian
High>7.45Gaussian
3BMIUnderweight<18Gaussian
Healthy>18 and <25Gaussian
Overweight>25Gaussian
4SputumNegative1Singleton
Positive2Singleton
5DyspneaNegative1Singleton
Positive2Singleton
6CoughNegative1Singleton
Positive2Singleton
7PseudomonasNegative1Singleton
Positive2Singleton
8StaphylococcusNegative1Singleton
Positive2Singleton
9Family historyNegative1Singleton
Positive2Singleton
10Abnormal stoolNegative1Singleton
Positive2Singleton
Output1CF diagnosisNon-CF1Singleton
CF2Singleton
Where the y* is the center of the area covered by the membership function of B′. Figure 2 illustrates the fuzzy inference system block diagram created for CF diagnosis with ten inputs and one output. Additionally, Figure 3 represents the constructed FIS system characteristics that are adjusted by user. MATLAB R2014a software was used to build the fuzzy model and to increase the efficiency and user-friendliness of the system; user interface was designed by Visual Studio and C# programming language. Figure 4 displays the graphical user interface (GUI) of the suggested system.
Figure 2

Fuzzy inference system block diagram

Figure 3

Constructed FIS system characteristics

Figure 4

Graphical user interface (GUI)

2.3. Evaluation

To evaluate the performance of the developed fuzzy expert system, a list of medical records of newly diagnosed CF patients was reviewed during August 2016 to January 2017. The patients were serially admitted to the CF Clinic in the Pediatric Respiratory Diseases Center (National Research Institute of Tuberculosis and Lung Diseases (NRITLD), Masih Daneshvari Hospital, Tehran, Iran) which is the CF reference center in Iran. All the procedures of the study were approved by the ethics committee of Shahid Beheshti Medical Sciences University, which was fully in accordance with the Declaration of Helsinki Ethical Principles for Medical Research Involving Human Subjects [Ethics code: IR.SBMU.NRITLD.REC.1395.260]. Although based on Cochran’s Formula, sample volume in this research estimated 96 people to a safety level of 90%. Due to the lack of comprehensive medical records containing all the mentioned variables in this paper, the sample of patients’ data for testing this system was restricted to70 patients (42 CF, 28 non-CF) referring to Pediatric Respiratory Diseases Center (Masih Daneshvari Hospital), and they were examined by pediatric respiratory diseases physicians. Then, participants’ data were analyzed to compare the outcomes of the system, and the results recorded in medical records. Finally, based on the analyzed data, the accuracy, specificity, and sensitivity of the predictive model were determined.

3. Results

Figure 5 demonstrates the fuzzy sets related to the linguistic variables sweat test, PH and BMI; and based on the domain knowledge, the numbers of membership functions are defined by the experts. In order to evaluate FIS, the performance measures such as precision, specificity, sensitivity, F1-measure and accuracy have been used which are calculated by the following equations:
Figure 5

Membership functions for input/output variables of the suggested system. DOM: degree of membership

Where TP, FN, FP and TN are true positive, false negative, false positive and true negative, respectively. Figure 6 exhibits the desired output and the actual output of the CF-FIS model. It can be observed that the constructed system performance is good in diagnosis of CF. A confusion matrix includes information concerning real and predicted classifications done by a classification system. Due to the n classes a confusion matrix is an n× n matrix. Performance of classification systems is usually evaluated using the data in the matrix. The confusion matrix of the CF-diagnosis fuzzy system is displayed in Table 4 which elaborates the strengths and weaknesses of this system. For below confusion matrix, true positives for class = ‘CF’ is 40, while false positive is 3 for class = ‘non-CF’, true negative is 25 and false negative is 2 i.e. diagonal elements of matrix 25+40=65 represent the right instances classified and next elements 2+3=5 show the incorrect instances. Regarding the system performance in terms of all five metrics including sensitivity, specificity, precision, accuracy and F1-measure, it can be mentioned that sensitivity had the maximum rate with about 0.95 and specificity had the minimum rate with a bit more than 0.89, while F1-measure, precision and accuracy were respectively 0.94, 0.93, and almost 0.93. Figure 7 shows ROC curve comparing the sensitivity and specificity of the suggested system (AUC=Area Under Curve).
Figure 6

System output and desired output.

Table 4

Confusion matrix for the CF-diagnosis fuzzy system

Predicted
Non-CFCF
Desired / actualNon-CF253
CF240
Figure 7

ROC curve of the proposed CF-FIS model

4. Discussion

In the present paper, the suggested design and evaluation of a fuzzy expert system for diagnosis of CF are represented. The diagnosis process was designed based on the expert’s knowledge and existing literature. In the real world, physicians use the patient’s risk factors and symptoms as input and then based on which and using their own experiences, proper diagnosis is prescribed for each patient. Hence, given the expert systems approach within this system, the CF risk factors and symptoms saved in the working memory and knowledge base include some rules from the domain expert. Then, for eliminating the uncertainty in the problem, fuzzy method is used to make a valid decision for each patient. Moreover, by user interface, a good relationship between user and the system is provided. The comparison between physicians’ evaluations and the system’s results (for these 70 patients) confirms the efficacy of this system. Therefore, the results of this study are in compliance with other researches. In the study of Zolnoori et al., the system reinforced a good efficiency of the fuzzy expert system for predicting the possibility of fatal asthma (28). While in the study of Avci, the classification accuracy of this GDA-LS-SVM expert system was acquired about 96.875% from the outcomes of these experimental studies (30). The qualified results of Zolnoori et al. have been compared with physicians’ evaluations. The obtained results confirmed the complete accordance between system’s results and physicians’ evaluations. In addition, the system represented quantified results in gradation that reflected a slight difference between degrees of asthma exacerbation (31). Evaluating the performance of the Zolnoori et al. system comprising 28 asthmatic patients, reinforced that the system’s results not only corresponded to the evaluations of physicians, but also represented the slight differences of asthmatic patients placed in the specific category introduced by the guidelines (33). The findings of Zolnoori et al. showed that their system met the requirements of user interaction satisfaction (34). The system efficiency of Vasheghani Farahani et al. was appraised by 60 CT scans gathered by Lung Image Database Consortium (LIDC), and the findings represented good progression in diagnosing pulmonary nodules (36). Yang et al. presented that using fuzzy expert systems was a viable solution for QA of toxicological data (42). The results not only showed the potential of approach in automatizing the quality evaluation processes, but they also posed some questions which led to further research (42). The obtained results from the system reveal that the diagnostic system is giving expected results and its efficacy is confirmed by the specialist physician in this field. The proposed system was not intended to replace the specialist doctor; nevertheless, it can be used to help a general practitioner or specialist doctor in diagnosing and predicting the patient’s situation. The defined rules in the expert system indeed replicate the kind of decision making done in the trained mind of a specialist. The importance of the developed Fuzzy Expert System (FES) lies in the fact that management of CF depends fully on the severity of the disease and it requires the knowledge and experience of a pediatrician/respirologist to give a correct diagnosis regarding the severity of CF, so the proposed expert system enables the less experienced junior physicians to achieve a better diagnosis, as it holds the expert knowledge in an intelligent system to be utilized effectively by others. The provided rules in the design of the fuzzy expert system are not exhaustive; nonetheless the system gives a good insight about different pulmonary diseases by predicting their severity almost equivalent to that of a medical expert. These preliminary results suggest that fuzzy relations should be considered as a good method to provide valid diagnoses and decision-making procedures in pediatrics. Increasing the sample size in future studies could be fruitful in evaluating the performance of this system. In order to improve system accuracy in a primary care setting (without laboratory data), variables can be restricted to symptoms data and historical data.

5. Conclusions

In general, it can be said that the studies on the use of such FES in finding medical diagnosis are very promising for the future. An FES can add valued input if incorporated into a routine clinical consultation, but it could never replace the role of clinicians. The expert system is a supportive tool in the treatment of cystic fibrosis, but the final decision can only be made by the specialist. However, in a decision-making process, the tools and techniques like fuzzy logic are as useful as the specialist’s diagnosis. As far as the data are trusty, the system will be able to make a diagnostic offer that assists the specialist to provide the patients with suitable treatment. In summary, despite the system showing complete positive correlation with specialists, further tests are necessary to determine the error percentage of the system. This system can be considered as a complimentary instrument for specialists, and it is not intended as a substitute for their own experiences. Only the specialists can understand the individual criteria and deliberations of each patient and based on their own expertise, only they can make the final decisions. It should be mentioned however, that as well as being a supportive tool, the system in which the information, knowledge, and expertise from certified specialists is stored, can also be used effectively as a training tool for new physicians.
Table 2

The main expert systems that were developed for diagnosis purposes in respiratory system diseases

Ref. noYearDeveloped/ Proposed/ Designed/ Applied/ Evaluated/ System
262009a computer-aided intelligent diagnostic system for bronchial asthma
272010a fuzzy rule-based expert system for diagnosing asthma at initial stages
282010improvised (27) for evaluating the possibility of fatal asthma
292011a computerized clinical decision support system, designed by pediatric pulmonologists for asthma
302012an expert diagnostic system for diagnosis of lung cancer
312012a fuzzy rule-based system for evaluating level of asthma exacerbation
322012an asthma management system for a pediatric emergency department
332012a fuzzy rule-based expert system for assessment severity of asthma
342013a system patient–centered computer application system for diagnosing pediatric asthma
352013a fuzzy expert system that takes into account details of various patients, primarily with asthma and Chronic Obstructive Pulmonary Disease (COPD)
122015a fuzzy rule-based medical expert system for diagnosis of lung cancer
362015a computer-aided classification method using computed tomography (CT) images of the lung-based ensemble of three classifiers including MLP, KNN and SVM
  20 in total

1.  Fuzzy expert system in the prediction of neonatal resuscitation.

Authors:  M A M Reis; N R S Ortega; P S P Silveira
Journal:  Braz J Med Biol Res       Date:  2004-04-22       Impact factor: 2.590

2.  A Type-2 Fuzzy Image Processing Expert System for Diagnosing Brain Tumors.

Authors:  M Zarinbal; M H Fazel Zarandi; I B Turksen; M Izadi
Journal:  J Med Syst       Date:  2015-08-15       Impact factor: 4.460

3.  A haplotype framework for cystic fibrosis mutations in Iran.

Authors:  Elahe Elahi; Ahmad Khodadad; Ilya Kupershmidt; Fereshteh Ghasemi; Babak Alinasab; Ramin Naghizadeh; Robert G Eason; Mahshid Amini; Mehran Esmaili; Mohammad R Esmaeili Dooki; Mohammad H Sanati; Ronald W Davis; Mostafa Ronaghi; Yvonne R Thorstenson
Journal:  J Mol Diagn       Date:  2006-02       Impact factor: 5.568

4.  Establishing the risk of neonatal mortality using a fuzzy predictive model.

Authors:  Luiz Fernando C Nascimento; Paloma Maria S Rocha Rizol; Luciana B Abiuzi
Journal:  Cad Saude Publica       Date:  2009-09       Impact factor: 1.632

5.  Towards a Fuzzy Expert System on Toxicological Data Quality Assessment.

Authors:  Longzhi Yang; Daniel Neagu; Mark T D Cronin; Mark Hewitt; Steven J Enoch; Judith C Madden; Katarzyna Przybylak
Journal:  Mol Inform       Date:  2013-01-21       Impact factor: 3.353

Review 6.  Epidemiology and genetics of cystic fibrosis in Asia: In preparation for the next-generation treatments.

Authors:  Meenu Singh; Cristina Rebordosa; Juliane Bernholz; Neeraj Sharma
Journal:  Respirology       Date:  2015-10-06       Impact factor: 6.424

7.  The correlation of brody high resolution computed tomography scoring system with clinical status and pulmonary function test in patients with cystic fibrosis.

Authors:  Soheila Khalilzadeh; Shahram Kahkouee; Maryam Hassanzad; Nazanin Parsanejad; Nooshin Baghaie; Mohammad Reza Bloorsa
Journal:  Iran J Med Sci       Date:  2011-03

8.  A novel Fuzzy Expert System for the identification of severity of carpal tunnel syndrome.

Authors:  Reeda Kunhimangalam; Sujith Ovallath; Paul K Joseph
Journal:  Biomed Res Int       Date:  2013-09-03       Impact factor: 3.411

9.  Analysis of CFTR Gene Mutations in Children with Cystic Fibrosis, First Report from North-East of Iran.

Authors:  Atieh Mehdizadeh Hakkak; Mohammad Keramatipour; Saeid Talebi; Azam Brook; Jalil Tavakol Afshari; Amin Raazi; Hamid Reza Kianifar
Journal:  Iran J Basic Med Sci       Date:  2013-08       Impact factor: 2.699

10.  Predicting Renal Failure Progression in Chronic Kidney Disease Using Integrated Intelligent Fuzzy Expert System.

Authors:  Jamshid Norouzi; Ali Yadollahpour; Seyed Ahmad Mirbagheri; Mitra Mahdavi Mazdeh; Seyed Ahmad Hosseini
Journal:  Comput Math Methods Med       Date:  2016-02-02       Impact factor: 2.238

View more
  3 in total

Review 1.  Artificial Intelligence in Clinical Decision Support: a Focused Literature Survey.

Authors:  Stefania Montani; Manuel Striani
Journal:  Yearb Med Inform       Date:  2019-08-16

Review 2.  Diagnosis support systems for rare diseases: a scoping review.

Authors:  Carole Faviez; Xiaoyi Chen; Nicolas Garcelon; Antoine Neuraz; Bertrand Knebelmann; Rémi Salomon; Stanislas Lyonnet; Sophie Saunier; Anita Burgun
Journal:  Orphanet J Rare Dis       Date:  2020-04-16       Impact factor: 4.123

3.  A Fuzzy Expert System to Predict the Risk of Postpartum Hemorrhage.

Authors:  Yussriya Hanaa Doomah; Song-Yuan Xu; Li-Xia Cao; Sheng-Lian Liang; Gloria Francisca Nuer-Allornuvor; Xiao-Yan Ying
Journal:  Acta Inform Med       Date:  2019-12
  3 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.