You are viewing a javascript disabled version of the site. Please enable Javascript for this site to function properly.
Go to headerGo to navigationGo to searchGo to contentsGo to footer
In content section. Select this link to jump to navigation

Fuzzy expert systems for prediction of ICU admission in patients with COVID-19

Abstract

The pandemic COVID-19 disease has had a dramatic impact on almost all countries around the world so that many hospitals have been overwhelmed with COVID-19 cases. As medical resources are limited, deciding on the proper allocation of these resources is a very crucial issue. Besides, uncertainty is a major factor that can affect decisions, especially in medical fields. To cope with these issues, we use fuzzy logic (FL) as one of the most suitable methods in modeling systems with high uncertainty and complexity. We intend to make use of the advantages of FL in decisions on cases that need to treat in ICU. In this study, an interval type-2 fuzzy expert system is proposed for the prediction of ICU admission in COVID-19 patients. For this prediction task, we also developed an adaptive neuro-fuzzy inference system (ANFIS). Finally, the results of these fuzzy systems are compared to some well-known classification methods such as Naive Bayes (NB), Case-Based Reasoning (CBR), Decision Tree (DT), and K Nearest Neighbor (KNN). The results show that the type-2 fuzzy expert system and ANFIS models perform competitively in terms of accuracy and F-measure compared to the other diagnosis systems.

1.Introduction

COVID-19 or Coronavirus has affected the public health and economics of many countries in the world due to its contagious nature and lack of effective medicine or vaccine [1]. It has spread to over 193 million people worldwide by the end of July 2021. According to medical reports, the mortality rate associated with this virus is low. However, the long duration of the disease and the disability of patients for a long time cause further spread of the disease and thus increase the mortality associated with this disease. It has killed over 4 million people by the end of July 2021 [2].

It is noteworthy that many COVID-19 patients will develop mild to moderate illness and recover without hospitalization. Fever, dry cough, and tiredness are the most common symptoms of COVID-19. These patients are advised to manage their symptoms at home. On the other hand, serious symptoms such as difficulty breathing and chest pain have appeared in some patients during the disease [3]. This condition can quickly get worse so that an emergency situation occurs. These critical situations can increase human decision-making errors leading to more financial and non-financial losses.

Besides, predicting the situation of patients is useful for hospitals and health centers due to the spread of this virus. It can help to design targeted tests of people, predict the number of required resources in hospitals and health centers, and inform medical plans for prioritizing the level of care, design-related policy about vaccination, and so on [4, 5]. In this way, health centers and hospitals can appropriately allocate their limited resources including treatment in intensive care units (ICUs), tests, and ventilators to the patients.

Therefore, to prevent human decision-making errors and to properly allocate the limited resources, it is a rational idea to design an expert system for the prediction of resource utilization in patients with COVID-19. In this study, the COVID-19 patient pre-condition dataset provided by the Mexican government is used [6]. To the best of our knowledge, there are a few expert systems for the prediction of a problem related to the COVID-19 patients. However, most of them use direct approach in which rules are extracted by an expert. In this paper, our expert system uses fuzzy modeling with an indirect approach, where the rules are extracted automatically by implementing a clustering approach. Furthermore, for the first time, an expert system is designed for the prediction of ICU admission in COVID-19 patients. In addition to developing a type-2 fuzzy expert system, an adaptive neuro-fuzzy inference system and some classification methods such as NB, CBR, DT, and KNN are implemented. Finally, we compare the results of these techniques in terms of accuracy and F-measure.

The structure of this paper is as follows: a literature review of different expert systems for medical diagnosis is presented in Section 2. The steps of designing the type-2 fuzzy expert system are presented in Section 3. In Section 4, the interval type-2 fuzzy expert system for ICU admission is presented. Classification methods and the developed fuzzy expert systems are evaluated in Section 5. Finally, conclusions and some directions for future studies are considered in Section 6.

2.Literature review

In this section, published research of Web of Science between the years 1980 and 2022 about the “COVID-19” or “Coronavirus” and “fuzzy expert systems” are analyzed using VOSviewer 1.6.10 software, and the corresponding results are presented in Fig. 1. Different circles show a different number of articles and the larger circles are associated with more articles. The lines between circles show the relationships among their articles in terms of their references. Besides, VOSviewer 1.6.10 software clusters different circles into four colored clusters according to their relationships. Figure 2 shows the results according to the year of the published articles.

Figure 1.

Different applications of COVID-19 and expert systems.

Different applications of COVID-19 and expert systems.

Figure 2.

The year of published articles about COVID-19 and expert systems.

The year of published articles about COVID-19 and expert systems.

Table 1

A review on the application of fuzzy expert systems in medical fields

Author (year)DiseaseTechnique
Sotudian et al. (2016) [7]HepatitisIndirect approach for fuzzy system modeling
Guzmán et al. (2017) [8]Blood pressureNeuro-fuzzy hybrid model
Meza-Palacios et al. (2017) [9]Type-2 diabetes mellitusFuzzy expert system based on experts’ guidelines
Sadat Asl and Zarandi (2017) [10]LeukemiaMamdani-style Type-2 fuzzy expert system
Zarandi et al. (2017) [11]Heart diseaseExpert system based on fuzzy bayesian network
Motlagh et al. (2018) [12]Depressive disorderWeb-based fuzzy expert system
Caliwag et al. (2018) [13]Venereal diseasesMobile expert system based on fuzzy logic
Muhammad et al. (2018) [14]Coronary artery diseaseExpert system with developed knowledge acquisition
Nazari et al. (2018) [15]Heart diseasesFuzzy inference-fuzzy analytic hierarchy process-based
Soltani et al. (2018) [16]GlaucomaExpert fuzzy logic & image processing methods
Tuan et al. (2018) [17]Dental disordersFuzzy computing & image processing methods
Terrada et al. (2018) [18]Cardiovascular diseasesFuzzy medical system using risk factors based on data
Ahmad et al. (2019) [19]Hepatitis BMultilayer Mamdani fuzzy inference system
Raza et al. (2019) [20]Erythemato squamousExpert system based on fuzzy rules
Arji et al. (2019) [21]Infectious diseaseFuzzy inference & rule-based fuzzy logic, ANFIS
Kaur and Kakkar (2019) [22]Neurodevelopmental disordersFuzzy based-systems based on co-morbid factors
Sadat Asl (2019) [23]LeukemiaTwo-stage expert system based on type-2 fuzzy logic
Mirmozaffari (2019) [24]Liver diseasesExpert system based on the VP-Expert shell
Mujawar and Jadhav (2019) [25]DiabetesWeb-based fuzzy expert system
Mutawa and Alzuwawi (2019) [26]UveitisMultilayered rule-based expert system
Sajadi et al. (2019) [27]HypothyroidismFuzzy rule-based expert system
Ershadi et al. (2020) [28]Different diseases and cancersMulti-classifier based on fuzzy expert system
Hamedan et al. (2020) [29]Chronic kidney diseaseFuzzy expert system with Mamdani inference system
Hussain et al. (2020) [30]Thyroid diseaseMulti-layered fuzzy Mamdani inference system
Khalil et al. (2020) [31]Lung cancerFuzzy soft expert system
Mahanta and Panda (2020) [32]Prostate cancerFuzzy expert system with Mamdani inference system
Mirmozaffari (2020) [33]Gastrointestinal diseasesFuzzy expert system based on VP-Expert shell
Mojrian et al. (2020) [34]Breast cancerMultilayer fuzzy expert system based on RBF
Naseer et al. (2020) [35]Heart diseaseMamdani fuzzy inference expert system
Siddiqui et al. (2020) [36]ArthritisAdaptive hierarchical Mamdani fuzzy expert system

According to the published research of Web of Science, a search with “COVID-19” or “Coronavirus” or other equivalent terms found more than 3,685,600 results. Besides, “expert systems” is appeared in more than 2,485,000 papers. However, less than 100 paper present a fuzzy expert system for COVID-19 or Coronavirus diagnosis and no paper considers ICU admission in patients with COVID-19 using a fuzzy expert system. These results demonstrate a serious gap due to the importance of the COVID-19 epidemic and the application of expert systems for medical decision support systems. Therefore, in this paper, we are going to fill this gap by designing fuzzy expert systems for the prediction of ICU admission in COVID-19 patients.

Thanks to the importance of expert systems, many researchers have used them in medical fields for the diagnosis of various diseases. For example, Hamedan et al. proposed a fuzzy expert system to predict chronic kidney disease. In their work, first, they identified the diagnostic parameters and risk factors through a literature review and a survey of some nephrologists, then a set of fuzzy rules for the prediction of chronic kidney disease was determined [29]. In another study, Hussain et al. presented a multi-layered fuzzy Mamdani inference system to analyze the prevailing thyroid disease. In their study, the proposed expert system is based on two layers. In layer 1, the presence or absence of thyroid disease is diagnosed. If layer 1 indicates the presence of thyroid disease, then layer 2 is activated by which the type of thyroid disease is determined [30].

Khalil et al. developed a new fuzzy soft expert system to predict lung cancer disease by using weight loss, shortness of breath, chest pain, persistent cough, blood in sputum, and age of patients. In their work, a prediction of the fuzzy soft expert system is composed of four main steps: 1) Transforming real-valued inputs into fuzzy numbers. 2) Converting fuzzy numbers into fuzzy soft sets. 3) Reducing the family of fuzzy soft sets obtained to a new family of fuzzy soft sets. 4) Using the proposed method to get the output data [31]. Mahanta and Panda developed a fuzzy expert system for the prediction of prostate cancer. In their study, age, prostate-specific antigen (PSA), prostate volume (PV), and Free PSA (FPSA) are fed as inputs into the system, and prostate cancer risk (PCR) is obtained as the output [32].

Mirmozaffari et al. presented an expert system for diagnosing the type of gastrointestinal disease and determining the type of tests needed to diagnose the disease [33]. Mojrian et al. presented a method based on a multilayer fuzzy expert system for the detection of breast cancer using an extreme learning machine (ELM) classification model integrated with radial basis function (RBF) kernel called ELM-RBF. In this study, they showed that their proposed method outperforms the linear-SVM model [34].

In another study, Naseer et al. proposed a fuzzy expert system for the diagnosis of heart disease. In their proposed system, the input variables comprised of age, chest pain, electrocardiography, blood pressure systolic, diabetes, and cholesterol are transmitted with the help of fuzzy rules which are framed in the light of low, normal, high, and very high intensity and the output is obtained using the Mamdani Inference method diagnosing the heart disease [35]. Siddiqui et al. developed an adaptive hierarchical Mamdani fuzzy expert system for the detection of arthritis. In their research, the expert system is comprised of two layers. In the first layer, the input variables are rest pain, morning stiffness, body pain, joint infection, swelling, redness, past injury and age that detects output condition of arthritis to be normal, infection and/or other problem, and in the second layer, the type of arthritis is diagnosed [36]. In the above studies, the authors designed various fuzzy expert systems in different medical fields.

However, there are a few studies on coronavirus-related issues, most of which are based on a direct approach where the rules are obtained by experts. Our expert system in this research employs fuzzy modeling using an indirect method, in which the rules are extracted automatically using a clustering approach. We develop an expert system designed specifically for the prediction of ICU admission in COVID-19 patients. Table 1 summarizes the fuzzy expert systems proposed for the diagnosis of various types of diseases.

3.Designing the type-2 fuzzy expert system

Artificial intelligence (AI) has been extensively applied in various fields of science, such as engineering and medical sciences [37, 38, 39, 40]. Expert systems are one of the most commercially successful branches of AI. They are programs with a broad base of knowledge emulating expert problem-solving skills in a certain domain [41]. Besides, fuzzy logic is a suitable modeling method for systems with high uncertainty and complexity by which a framework can be provided for reasoning, inference, control, and decision making [42]. Due to common features and others that complement each other, fuzzy logic and expert system technologies can easily be integrated. Both techniques are well-suited to deal with decision-making and other knowledge-oriented problems. Systems with these techniques have enhanced efficiency, system quality, and speed of execution [43].

As mentioned earlier, the main objective of this paper is to design an expert system to predict ICU needs for COVID-19 patients based on type-2 FL. To this end, there are two common approaches for the selection of the parameters of a type-2 FL system. The first one is the partially dependent approach. In this approach, first, the best possible type-1 FL system is designed. Then, it is used to initialize the parameters of a type-2 FL system. The second one is the totally independent approach where all of the parameters of the type-2 FL system are tuned without using an existing type-1 design [44]. In this paper, we use the partially dependent approach because of its advantages compared with the totally dependent approach. After designing a type 1 fuzzy system, a type-2 rule-based fuzzy system with uncertain standard deviation and interval-valued membership function is implemented. The same rules of the type-1 fuzzy system are used by this system and the only difference is that if-part and then-part are type-2. The designed system is comprised of the following steps:

  • Data preprocessing and determining the inputs and output of the system;

  • Clustering the output space and determination of the number of rules;

  • Projection of membership functions of the output onto the inputs to obtain the membership values of the inputs;

  • Tuning the parameters of type-1 membership functions of inputs and output variables;

  • Transforming type-1 to interval type-2 membership functions;

  • Tuning the parameters of type-2 membership functions.

3.1Data preprocessing

We use a publicly available dataset, containing information of about 566602 patients. The data contains some information about pregnancy, diabetes, chronic obstructive pulmonary disease (COPD), asthma, cardiovascular, obesity, tobacco, etc., and determines whether a patient needs an ICU or not [6]. In this dataset, there are 444814 missing data for ICU. Therefore, the final number of patients used in fuzzy expert systems and other classification techniques is 121788. Besides, a few outliers (e.g., male patient’s pregnancy) were detected and removed from the dataset.

Most precondition features of this dataset are categorical, each of which takes the value yes, no, and unspecified. These categorical features were converted to numerical by ‘one-hot’ encoding. By creating auxiliary variables that help differentiate between various categories of a feature, one-hot encoding transforms the categorical feature into multiple binary variables. Finally, highly correlated variables were eliminated as they provide similar information. Specifically, we calculated pairwise correlations among the variables, and one among any two highly correlated variables with an absolute correlation coefficient higher than 0.85 was removed. After the preparation of the dataset, we reached 27 features and one output determines whether a patient needs to the ICU or not.

3.2Clustering the output space and determination of the number of rules

To determine the number of rules, we use Fukuyama cluster validity index which can be defined as follows [45]:

min2cCmaxVFS(U,V,X)=i=1cj=1N
(1)
uijmxj-vi2-i=1cj=1Nuijmvi-v¯2,

where X={x1,x2,,xN}d is the dataset in d-dimensional vector space, uij is the degree of belonging of the jth data to the ith cluster, V={v1,v2,,vc} is the prototypes of clusters, c is the number of clusters, v¯=vic, m is the degree of fuzziness, U is fuzzy partition matrix, and N is the number of samples. By solving min2cCmaxVFS, the optimal cluster number is obtained. In this study, this cluster validity index was implemented and the optimal value for the number of clusters is obtained five clusters. Therefore, we have five rules in our system. In the proposed system, Mamdani inference system is used where the antecedents and consequents of the rule-based system are fuzzy sets. We clustered the output data and then obtained the output clusters’ primary membership grades using Sugeno and Yasukawa method [46]. First, we partition the output space, and then, get the input space clusters by projecting the output space partition to each input variable space.

3.3Projection of membership functions of the output onto the inputs

For the input variables, the appropriate membership grades should be calculated after clustering the output space. One way is to set each input’s membership grade equal to its corresponding output membership grade obtained by the procedure of output data clustering. In this way, for each output data, all the related input variables would then have a similar membership grade. The issue with this approach is that the membership functions are not convex and a further approximation is required to form the convex membership functions. Furthermore, the output membership grade is not always the same as the input membership grades at each sample point [47]. For these reasons, in this paper, Zarandi’s approach is used. According to this approach, first, the ranges in which the membership functions of the input variable adopt value 1 are determined. The data points are then classified using the GK method, by given m and c determined in the preceding step (obtained from output variable clustering stage) and analyzing the objective function of classification algorithm (for more details please refer to [47]).

3.4Tuning the parameters of type-1 membership functions

There are several parameters in type-1 FL systems that can either be pre-specified or can be tuned during a training phase. An impeccable FL system should have f(x)=d, where d is the desired output. However, there are typically errors between the desired and actual output. Therefore, in order to produce better results, tuning the parameters of the fuzzy model is important. In this paper, the suggested tuning algorithm by Liang and Mendel is used. Based on this approach, all of the parameters related to a Gaussian type-1 are tuned using the steepest descent method. Given an input-output training pair (x(i),y(i)),x(i)RG and y(i)R, a type-1 fuzzy is designed by minimizing the following error function [48]:

(2)
e(t)=12[f(x(i))-y(i)]2,i=1,,N.

3.5Transforming type-1 to interval type-2 membership functions

To transform type-1 to an interval type-2 fuzzy set with uncertain standard deviation, the case of a Gaussian primary membership function with a fixed mean mfS and uncertain standard deviation that takes on values in [σf1S,σf2S] is considered [48]:

ufS(xf)=exp[-12(xf-mfSσfS)],
(3)
σfS[σf1S,σf2S],

where f=1,,G; G is the number of antecedents; S=1,,D; and D is the number of rules. We can obtain the upper and lower membership functions by replacing σf2Sand σf1S with σfS in the above expression.

3.6Tuning the parameters of type-2 membership functions

For tuning the parameters of the interval type-2 FL system, we use the proposed tuning algorithm by Liang and Mendel. In interval type-2 system, f(x) is determined by upper and lower membership functions and centroids of interval type-2 fuzzy sets, and therefore, we want to tune these parameters. Since an interval type-2 FL system can be identified by two fuzzy basis function expansions, we can focus on tuning the parameters of just these two type-1 FL systems [49].

Table 2

The antecedent and consequent parameters of the system

ParametersRule 1Rule 2Rule 3Rule 4Rule 5
Antecedent-Var 1 μ 32.56279.01963.13149.0294.849
σ¯ 9.50110.2407.5527.31915.489
σ¯ 5.7006.1444.5314.3919.294
Antecedent-Var 2 μ 1.5781.5751.6081.6321.562
σ¯ 0.3620.3570.4440.4400.253
σ¯ 0.2540.2500.3110.3080.177
Antecedent-Var 3 μ 1.5091.6501.6561.6261.408
σ¯ 0.3720.3370.4250.4420.260
σ¯ 0.1860.1690.2120.2210.130
Antecedent-Var 4 μ 1.0041.0051.0051.0061.002
σ¯ 0.0460.0530.0580.0760.023
σ¯ 0.0410.0470.0520.0680.021
Antecedent-Var 5 μ 1.1021.3761.4061.2841.014
σ¯ 0.1860.3370.441 0.3810.095
σ¯ 0.1300.2360.3080.2670.066
Antecedent-Var 6 μ 1.0041.0051.0041.0051.002
σ¯ 0.0420.0500.0500.0600.019
σ¯ 0.0340.0400.0400.0480.015
Antecedent-Var 7 μ 1.0071.1271.0531.0201.002
σ¯ 0.0230.1390.0890.0450.015
σ¯ 0.0140.0830.0530.0270.009
Antecedent-Var 8 μ 1.0331.0211.0221.0251.032
σ¯ 0.0440.0310.0400.0450.030
σ¯ 0.0300.0220.0280.0320.021
Antecedent-Var 9 μ 1.0051.0061.0051.0061.004
σ¯ 0.0480.0580.0610.0710.030
σ¯ 0.0380.0460.0490.0570.024
Antecedent-Var 10 μ 1.0401.0341.0341.0301.109
σ¯ 0.0560.0490.0620.0570.083
σ¯ 0.0330.0290.0370.0340.050
Antecedent-Var 11 μ 1.0041.0051.0041.0061.002
σ¯ 0.0440.0490.0520.0690.019
σ¯ 0.0260.0300.0310.0410.012
Antecedent-Var 12 μ 1.1111.5521.4431.2771.014
σ¯ 0.2020.3700.4540.3820.107
σ¯ 0.1410.2590.3180.2670.075
Antecedent-Var 13 μ 1.0071.0091.0071.0081.013
σ¯ 0.0760.0850.0940.1040.083
σ¯ 0.0610.0680.0750.0830.066
Antecedent-Var 14 μ 1.0501.0721.0541.0441.151
σ¯ 0.0720.0930.0950.0830.111
σ¯ 0.0430.0560.0570.0500.067
Antecedent-Var 15 μ 1.0161.1161.0581.0281.046
σ¯ 0.0350.1320.0980.0580.046
σ¯ 0.0240.0920.0680.0410.032
Antecedent-Var 16 μ 1.0051.0051.0041.0061.002
σ¯ 0.0480.0490.0580.0740.019
σ¯ 0.0380.0390.0460.0590.015
Antecedent-Var 17 μ 1.1991.1531.2181.2551.026
σ¯ 0.2370.2010.3120.3460.078
σ¯ 0.1660.1410.2180.2420.055
Antecedent-Var 18 μ 1.0041.0051.0041.0051.002
σ¯ 0.0440.0510.0510.0650.021
σ¯ 0.0260.0300.0300.0390.012
Antecedent-Var 19 μ 1.0491.0701.0741.0481.017
σ¯ 0.0710.0910.1210.0880.029
σ¯ 0.0420.0550.0720.0530.017
Antecedent-Var 20 μ 1.0051.0051.0041.0061.002
σ¯ 0.0460.0500.0560.0700.020
σ¯ 0.0280.0300.0340.0420.012

Table 2, continued

ParametersRule 1Rule 2Rule 3Rule 4Rule 5
Antecedent-Var 21 μ 1.0891.1091.0921.0831.008
σ¯ 0.1190.1340.1510.1420.032
σ¯ 0.0830.0940.1060.1000.023
Antecedent-Var 22 μ 1.4561.5721.5451.4971.404
σ¯ 0.3720.3620.4630.4700.255
σ¯ 0.2970.2890.3700.3760.204
Antecedent-Var 23 μ 1.2021.0931.1171.1521.153
σ¯ 0.2280.1350.1960.2370.129
σ¯ 0.1370.0810.1180.1420.077
Antecedent-Var 24 μ 1.3841.3351.2581.2581.746
σ¯ 0.3470.3230.3630.3680.257
σ¯ 0.2430.2260.2540.2580.180
Antecedent-Var 25 μ 1.5041.5391.6191.6271.152
σ¯ 0.3730.3630.4420.4450.218
σ¯ 0.3350.3270.3980.4000.196
Antecedent-Var 26 μ 1.0021.0011.0011.0011.003
σ¯ 0.0210.0130.0120.0190.019
σ¯ 0.0170.0100.0100.0150.015
Antecedent-Var 27 μ 1.0411.0001.0001.0011.008
σ¯ 0.3260.0210.0230.0340.057
σ¯ 0.2280.0150.0160.0240.040
Consequent μ 1.0661.0751.0821.0801.164
σ¯ 0.0950.1020.1380.1360.121
σ¯ 0.0570.0610.0830.0820.072

4.Proposed interval type-2 fuzzy expert system

In this paper, we use Mamdani inference system in which the antecedents and consequent are type-2 fuzzy sets that have a fixed mean and an uncertain standard deviation that takes values in an interval. The interval type-2 FL system is created from the type-1 FL system. The proposed system uses singleton fuzzification, product t-norm, product inference, and center-of-sets type-reduction, with the same number of fuzzy sets and rules as the type-1 FL system. Several defuzzification methods have been used, such as centroid, bisector, and Yager. The best results of this system are obtained by Yager defuzzification method. Table 2 shows both consequent and antecedent parameters of the expert system. In this table, μ, σ¯ and σ¯ are the fixed mean, upper bound standard deviation and lower bound standard deviation, respectively.

5.Performance evaluation and analysis

In this paper, in addition to developing a type-2 fuzzy expert system for the prediction of ICU admission, we develop the ANFIS model for this prediction task using MATLAB toolbox. Then, we compare the performance of the developed fuzzy expert systems to several well-known classification methods such as NB, CBR, DT, and KNN in terms of accuracy and F-measure. To evaluate the performance of each system, the dataset is divided into training and test sets. In this way, for each system modeling technique, 70% of the dataset has been used for training. Table 3 shows the accuracy and F-measure of different system modeling techniques implemented in this study.

Classification accuracy is the total number of accurate predictions divided by the total number of predictions made for a dataset. As a performance measure, accuracy is not sufficient for imbalanced classification problems. The key explanation is that the vast number of examples from the dominant class or classes would overwhelm the number of minority class examples. Using precision and recall metrics is an alternative to using classification accuracy. F-Measure integrates both precision and recall into a single measure and captures both properties [50]. As can be seen in Table 3, the developed fuzzy expert systems could achieve an accuracy of 91.6% and an F-measure of 95.6%. Comparing to the CBR and KNN methods, the fuzzy expert systems can improve the accuracy and F-measure by about 1.5% to 5% and 1% to 3%, respectively. Furthermore, the developed fuzzy models performed competitively compared to the other classification methods. Overall, the results show that both type-2 fuzzy system and ANFIS model could outperform the well-known classification methods.

Table 3

Accuracy and F-measure of different system modeling techniques

MethodsAccuracy %F-measure %
Type-2 fuzzy system91.6495.64
ANFIS91.6695.66
NB90.7995.15
CBR86.2692.54
DT90.6395.06
KNN90.0494.73

Type-2 FL systems usually give better results than their type-1 counterparts as the type-2 fuzzy sets and systems generalize type-1 fuzzy sets and systems so that more uncertainty can be handled. However, in our case, as can be seen, the results of the type-2 fuzzy expert system are very close to the ANFIS model. In the dataset, as most input variables are categorical, the type-2 fuzzy set lost its efficiency. Therefore, in this specific problem, type-2 FL has lost its superiority over the developed ANFIS model.

6.Conclusion

In this study, a type-2 fuzzy expert system and an adaptive neuro-fuzzy inference system are developed for the prediction of ICU admission. Furthermore, to evaluate the performance of these fuzzy systems, several classification methods such as NB, CBR, DT, and KNN are also implemented. All these methods are tested on a publicly available dataset. The results demonstrate the efficacy of the proposed fuzzy expert systems, with an accuracy of 91.6% and an F-measure of 95.6%, which outperform the other conventional classification techniques. When comparing the two developed fuzzy expert systems, we can notice that the results of the type-2 fuzzy expert system are very close to the ANFIS model since, in our problem, most input variables are categorical.

One of the limitations of the present study is a lack of publicly available COVID-19 datasets with detailed symptoms. Most features of the dataset used in this study are categorical which may affect the general superiority of type-2 expert system over the developed ANFIS model. Over time, more COVID-19 datasets will be published because more and more experiments are performed every day for this disease around the world. If the number of continuous input variables in new datasets is higher, the type-2 fuzzy expert system may provide better results due to its higher generalizability. Therefore, for future studies, the proposed fuzzy expert systems can be designed using some other datasets. A prominent feature of type-2 fuzzy logic is its resilience to noise compared to type-1 fuzzy logic. This resilience can be improved by introducing general type-2 fuzzy logic. Thus, an interesting future direction is to extend the proposed model to a general type-2 fuzzy expert system. Finally, we can extend the proposed model to deal with more complex data such as data with missing entries.

Table 4

Summary points:

What is known?What this adds?
Hospitals have many problems with COVID-19 cases due to limited available medical resources.Proposed classifiers are designed in this paper to predict ICU admission in COVID-19 patients.
There are high uncertainty and complexity to find the proper level of COVID-19 patients.Fuzzy logic methods are considered in this paper to model related uncertainty and complexity.
The number of available data has significant effects on the learning phase of most classifiers.Different clinical features of 566602 COVID-19 patients are utilized in the learning phase of classifiers.
There are different classifiers with special advantages and disadvantages.We compare the accuracies and F-measures of Naive Bayes (NB), Case-Based Reasoning (CBR), Decision Tree (DT), and K Nearest Neighbor (KNN) to the proposed type-2 fuzzy expert system and ANFIS model.

References

[1] 

Silva PC, Batista PV, Lima HS, Alves MA, Guimarães FG, Silva RC. COVID-ABS: An agent-based model of COVID-19 epidemic to simulate health and economic effects of social distancing interventions. Chaos, Solitons & Fractals. (2020) Oct 1; 139: : 110088.

[2] 

World Health Organization. Coronavirus disease 2019 (COVID-19): situation report, 72.

[3] 

Menni C, Valdes AM, Freidin MB, Sudre CH, Nguyen LH, Drew DA, Ganesh S, Varsavsky T, Cardoso MJ, Moustafa JS, Visconti A. Real-time tracking of self-reported symptoms to predict potential COVID-19. Nature medicine. (2020) May 11; 1–4.

[4] 

Fischer GS, da Rosa Righi R, de Oliveira Ramos G, da Costa CA, Rodrigues JJ. ElHealth: Using Internet of Things and data prediction for elastic management of human resources in smart hospitals. Engineering Applications of Artificial Intelligence. (2020) Jan 1; 87: : 103285.

[5] 

Horvitz E. From data to predictions and decisions: Enabling evidence-based healthcare. Computing Community Consortium. (2010) Sep 18; 6.

[6] 

https://www.kaggle.com/tanmoyx/covid19-patient-precondition-dataset?select=covid.csv.

[7] 

Sotudian S, Fazel Zarandi MH, Turksen IB. From Type-I to Type-II fuzzy system modeling for diagnosis of hepatitis. International Journal of Computer and Information Engineering. (2016) ; 10: (7): 1280–1288.

[8] 

Guzmán JC, Melin P, Prado-Arechiga G. Neuro-fuzzy hybrid model for the diagnosis of blood pressure. In Nature-Inspired Design of Hybrid Intelligent Systems. Springer, Cham. (2017) . pp. 573–582.

[9] 

Meza-Palacios R, Aguilar-Lasserre AA, Ureña-Bogarín EL, Vázquez-Rodríguez CF, Posada-Gómez R, Trujillo-Mata A. Development of a fuzzy expert system for the nephropathy control assessment in patients with type 2 diabetes mellitus. Expert Systems with Applications. (2017) Apr 15; 72: : 335–43.

[10] 

Asl AAS, Mohammad Hossein Fazel Zarandi. A type-2 fuzzy expert system for diagnosis of leukemia. North American Fuzzy Information Processing Society Annual Conference. Springer, Cham, (2017) .

[11] 

Zarandi MH, et al. An expert system based on fuzzy bayesian network for heart disease diagnosis. North American Fuzzy Information Processing Society Annual Conference. Springer, Cham, (2017) .

[12] 

Motlagh HA, Bidgoli BM, Fard AA. Design and implementation of a web-based fuzzy expert system for diagnosing depressive disorder. Applied Intelligence. (2018) May 1; 48: (5): 1302–13.

[13] 

Caliwag JA, Reyes FC, Castro PJ, Castillo RE. A mobile expert system utilizing fuzzy logic for venereal and sexually transmitted diseases. Journal of Advances in Information Technology. (2018) Aug; 9: (3).

[14] 

Muhammad LJ, Garba EJ, Oye ND, Wajiga GM. On the Problems of Knowledge Acquisition and Representation of Expert System for Diagnosis of Coronary Artery Disease (CAD). International Journal of u-and e-Service, Science and Technology. (2018) ; 11: (30): 49–58.

[15] 

Nazari S, Fallah M, Kazemipoor H, Salehipour A. A fuzzy inference-fuzzy analytic hierarchy process-based clinical decision support system for diagnosis of heart diseases. Expert Systems with Applications. (2018) Apr 1; 95: : 261–71.

[16] 

Soltani A, Battikh T, Jabri I, Lakhoua N. A new expert system based on fuzzy logic and image processing algorithms for early glaucoma diagnosis. Biomedical Signal Processing and Control. (2018) Feb 1; 40: : 366–77.

[17] 

Tuan TM, Fujita H, Dey N, Ashour AS, Ngoc VT, Chu DT. Dental diagnosis from X-ray images: An expert system based on fuzzy computing. Biomedical Signal Processing and Control. (2018) Jan 1; 39: : 64–73.

[18] 

Terrada O, Cherradi B, Raihani A, Bouattane O. A fuzzy medical diagnostic support system for cardiovascular diseases diagnosis using risk factors. In 2018 International Conference on Electronics, Control, Optimization and Computer Science (ICECOCS). IEEE. (2018) Dec 5. pp. 1–6.

[19] 

Ahmad G, Khan MA, Abbas S, Athar A, Khan BS, Aslam MS. Automated diagnosis of hepatitis b using multilayer mamdani fuzzy inference system. Journal of healthcare engineering. 2019 Jan 1; 2019.

[20] 

Raza MA, Liaqat MS, Shoaib M. A Fuzzy Expert System Design for Diagnosis of Skin Diseases. In 2019 2nd International Conference on Advancements in Computational Sciences (ICACS). IEEE. (2019) Feb 18. pp. 1–7.

[21] 

Arji G, Ahmadi H, Nilashi M, Rashid TA, Ahmed OH, Aljojo N, Zainol A. Fuzzy logic approach for infectious disease diagnosis: A methodical evaluation, literature and classification. Biocybernetics and Biomedical Engineering. (2019) Oct 1; 39: (4): 937–55.

[22] 

Kaur G, Kakkar D. Fuzzy Based Integrated Diagnostic System for Neurodevelopmental Disorders. In 2019 6th International Conference on Signal Processing and Integrated Networks (SPIN). IEEE. (2019) Mar 7. pp. 132–136.

[23] 

Asl AAS. A Two-Stage Expert System for Diagnosis of Leukemia Based on Type-2 Fuzzy Logic. International Journal of Computer and Information Engineering. (2019) ; 13: (2): 34–41.

[24] 

Mirmozaffari M. Developing an expert system for diagnosing liver diseases. European Journal of Engineering Research and Science. (2019) Mar 2; 4: (3): 1–5.

[25] 

Mujawar IK, Jadhav BT. Web-based Fuzzy Expert System for Diabetes Diagnosis. International Journal of Computer Sciences and Engineering. (2019) ; 7.

[26] 

Mutawa AM, Alzuwawi MA. Multilayered rule-based expert system for diagnosing uveitis. Artificial Intelligence in Medicine. (2019) Aug 1; 99: : 101691.

[27] 

Sajadi NA, Borzouei S, Mahjub H, Farhadian M. Diagnosis of hypothyroidism using a fuzzy rule-based expert system. Clinical Epidemiology and Global Health. (2019) Dec 1; 7: (4): 519–24.

[28] 

Ershadi MM, Seifi A. An efficient multi-classifier method for differential diagnosis. Intelligent Decision Technologies. Intelligent Decision Technologies. (2020) ; 14: (3): 337–347.

[29] 

Hamedan F, Orooji A, Sanadgol H, Sheikhtaheri A. Clinical decision support system to predict chronic kidney disease: A fuzzy expert system approach. International Journal of Medical Informatics. (2020) Mar 30; 104134.

[30] 

Hussain A, Hussnain SA, Fatima A, Siddiqui SY, Saeed A, af Saeed Y, Ahmed A, Khan MA. A Novel Approach for Thyroid Disease Identification Empowered with Fuzzy Logic. IJCSNS. (2020) Jan; 20: (1): 173.

[31] 

Khalil AM, Li SG, Lin Y, Li HX, Ma SG. A new expert system in prediction of lung cancer disease based on fuzzy soft sets. Soft Computing. (2020) Mar 2; 1–29.

[32] 

Mahanta J, Panda S. Fuzzy expert system for prediction of prostate cancer. New Mathematics and Natural Computation. (2020) Mar; 16: (01): 163–76.

[33] 

Mirmozaffari M. Presenting an expert system for early diagnosis of gastrointestinal diseases. International Journal of Gastroenterology Sciences. (2020) ; 1: (1): 21–7.

[34] 

Mojrian S, Pinter G, Joloudari JH, Felde I, Szabo-Gali A, Nadai L, Mosavi A. Hybrid Machine Learning Model of Extreme Learning Machine Radial basis function for Breast Cancer Detection and Diagnosis; a Multilayer Fuzzy Expert System. In 2020 RIVF International Conference on Computing and Communication Technologies (RIVF). IEEE. (2020) Oct 14. pp. 1–7.

[35] 

Naseer I, Khan BS, Saqib S, Tahir SN, Tariq S, Akhter MS. Diagnosis heart disease using mamdani fuzzy inference expert system. EAI Endorsed Transactions on Scalable Information Systems. (2020) ; 7: (26).

[36] 

Siddiqui SY, Hussnain SA, Siddiqui AH, Ghufran R, Khan MS, Irshad MS, Khan AH. Diagnosis of arthritis using adaptive hierarchical Mamdani fuzzy type-1 expert system. EAI Endorsed Transactions on Scalable Information Systems. (2020) ; 7: (26).

[37] 

Sadat Asl AA, et al. A fuzzy capacitated facility location-network design model: A hybrid firefly and invasive weed optimization (FIWO) solution. Iranian Journal of Fuzzy Systems. (2020) ; 17: (2): 79–95.

[38] 

Sotudian S, Mohammad Hossein Fazel Zarandi. Interval Type-2 Enhanced Possibilistic Fuzzy C-Means Clustering for Gene Expression Data Analysis. arXiv preprint arXiv:2101.00304. (2021) .

[39] 

Sadatasl AA, Mohammad Hossein Fazel Zarandi, Abolfazl Sadeghi. A combined facility location and network design model with multi-type of capacitated links and backup facility and non-deterministic demand by fuzzy logic. 2016 Annual Conference of the North American Fuzzy Information Processing Society (NAFIPS). IEEE. (2016) .

[40] 

Zandigohar M, et al. Multimodal Fusion of EMG and Vision for Human Grasp Intent Inference in Prosthetic Hand Control. arXiv preprint arXiv:2104.03893. (2021) .

[41] 

Zarandi MHF, Asl AAS, Sotudian S, Castillo O. A state of the art review of intelligent scheduling. Artificial Intelligence Review. (2020) ; 53: (1): 501–593.

[42] 

Sotudian S, Asl AAS, Zarandi MHF. Fuzzy Gilmore and Gomory algorithm: Application in robotic flow shops with the effects of job-dependent transportation and set-ups. RAIRO-Operations Research. (2021) ; 55: : S1515–S1528.

[43] 

Medsker LR. Fuzzy Logic and Expert Systems. In: Hybrid Intelligent Systems. Springer, Boston, MA. (1995) . doi: 10.1007/978-1-4615-2353-6_6.

[44] 

Wu D, Woei Wan Tan. A type-2 fuzzy logic controller for the liquid-level process. 2004 IEEE International Conference on Fuzzy Systems (IEEE Cat. No. 04CH37542). IEEE. Vol. 2, (2004) .

[45] 

Zarandi MHF, Shahabeddin Sotudian, Oscar Castillo. A New Validity Index for Fuzzy-Possibilistic C-Means Clustering. arXiv preprint arXiv:2005.09162. (2020) .

[46] 

Sugeno M, Yasukawa T. A fuzzy logic based approach to qualitative modeling. IEEE Transactions on Fuzzy Systems. (1993) ; 1: : 7–31.

[47] 

Zarandi MHF, et al. A type-2 fuzzy hybrid expert system for commercial burglary. North American Fuzzy Information Processing Society Annual Conference. Springer, Cham. (2017) .

[48] 

Mendel JM. Uncertainty, fuzzy logic, and signal processing. Signal Processing. (2000) ; 80: (6): 913–933.

[49] 

Liang Q, Mendel JM. Interval type-2 fuzzy logic systems: Theory and design. IEEE Transactions on Fuzzy Systems. (2000) ; 8: (5): 535–550.

[50] 

Brownlee J. How to Calculate Precision, Recall, and F-Measure for Imbalanced Classification. URL: https://machinelearningmastery.com/precisionrecall-and-f-measure-for-imbalanced-classification. (2020) .