Next Article in Journal
Effects of Fire on Diversity and Aboveground Biomass of Understory Communities in Seasonally Dry Tropical Forest in Western Thailand
Previous Article in Journal
A System Dynamic Analysis of Urban Development Paths under Carbon Peaking and Carbon Neutrality Targets: A Case Study of Shanghai
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Scheme for Classification of Epilepsy Using Machine Learning and a Fuzzy Inference System Based on Wearable-Sensor Health Parameters

1
School of Electrical and Electronics Engineering, Lovely Professional University, Punjab 144402, India
2
Department of Electrical and Electronics Engineering Technology, Faculty of Engineering and the Built Environment, University of Johannesburg, Johannesburg 2092, South Africa
*
Author to whom correspondence should be addressed.
Sustainability 2022, 14(22), 15079; https://doi.org/10.3390/su142215079
Submission received: 2 October 2022 / Revised: 2 November 2022 / Accepted: 9 November 2022 / Published: 14 November 2022

Abstract

:
The tremendous growth of health-related digital information has transformed machine learning algorithms, allowing them to deliver more relevant information while remotely monitoring patients in modern telemedicine. However, patients with epilepsy are likely to die or have post-traumatic difficulties. As a result, early disease detection could be essential for a person’s survival. Hence, early diagnosis of epilepsy based on health parameters is needed. This paper presents a classification of epilepsy disease based on wearable-sensor health parameters that use a hybrid approach with ensemble machine learning and a fuzzy logic inference system. The ensemble machine learning classifiers are used to predict epilepsy events using ensemble bagging and ensemble boosting regression. The experimental results show that compared to the ensemble bagging classifiers and other state-of-the-art methods, the ensemble boosting classifier with the fuzzy inference system outperformed with a 97% accuracy rate.

1. Introduction

With the need for guaranteed precision in intricate events and the cumulative demand for healthcare services, it is obvious that machine learning (ML) is crucial to the operation and use of technology. Increasing productivity while meeting healthcare requirements, allotting time, and automizing hospital logistics is necessary. The main objectives of telemedicine are to minimize waiting times, lower costs, and close communication and accessibility gaps in the medical sector. Healthcare services utilize telehealth to address demand versus supply mismatch issues using information and communication technology (ICT) methods. Machine learning may help with this difficulty by creating algorithms that match the accessibility of healthcare experts with acceptable clinical skill sets in the nearby area. Many countries’ average life expectancy has significantly increased due to improved healthcare systems. Technology that addresses older people’s issues can allow them to be independent and receive top-notch care. Epilepsy is a significant issue that older adults face. An older adult who falls may suffer severe injuries and develop other, frequently significant, health issues. Additionally, falling and losing your equilibrium could be indicators of a condition that could be fatal. Therefore, the injured person must obtain urgent medical care after a fall, regardless of what caused it. Patients frequently need emergency medical attention because they cannot stand independently [1,2,3,4,5,6,7].
Most of the existing work has built its methodologies for disease diagnosis based on health parameters using machine learning and deep learning algorithms, mainly based on audio signals, time-series data, and image data. For audio signals, heart, respiratory, and inhaler sounds are used, whereas for time-series data, ECG, EEG, and PPG signals are used within a self-experimentation setup. Then, the results are analysed using performance parameters such as accuracy, MAE, sensitivity, specificity, precision, recall, f-score, and evaluation time. Still, the results of epilepsy diagnosis are not satisfactory, and the use of a deep learning model causes high computation time with higher GPU requirements to process the data. In addition, acquisition of time-series data like ECG, EEG, and PPG requires more precision and time to create the best-supervised data.
Most researchers have created systems for health monitoring and diagnostics employing cutting-edge technologies. IoT is utilized to transmit real-time data about medical parameters. Many soft computing methods are employed for classifying health conditions, including machine learning, deep learning, and fuzzy logic. Machine learning has advantages over other algorithms when it comes to soft computing. This study’s primary goal is to examine ML’s practical applications, such as treatment planning, diagnosis, prevention, and case identification of high-risk patients. To help hospitals run more efficiently and reduce physician workload, finding a tool for artificial diagnosis that can be applied in real-world settings is essential. ML addresses high-risk populations, including the elderly, diabetics, hypertensive patients, pregnant women, asthmatics, cancer patients, and post-transplant patients, which is crucial in terms of urgency.
Automating the diagnostic process by providing an intelligence model will assist clinicians and doctors in making the best diagnosis decision possible. A hybrid model consists of ML and a fuzzy inference system (FIS) for evaluating health scores and status. Input is given to the ML system, which provides the precision output ranges from 0–1. Regression-based variable output of the ML is given to the FIS as input to identify the state of disease as 1-normal, 2-mild, or 3-severe, as shown in Figure 1. The output of the FIS depicts health status based on the classifications. Input sensor data is given to the ML system, which provides the precision output ranges from 0–1. The regression-based variable output of the ML system is given to the FIS system as input to identify the state of disease as 1-normal, 2-mild, or 3-severe, as shown in Figure 1. The output of the FIS depicts health status based on the classifications. Additionally, proposed machine learning models have an advantage over deep learning models in that they are easy to build and make better predictions with supervised human interaction. On the other hand, deep learning models are difficult to build as they use complex, multi-layered neural networks. The advantage of fuzzy logic systems is that knowledge gradually turns into wisdom and can be used as a decision-making tool. Considering the proposed IoT ecosystem with the added benefits of an intelligent model and the use of wearable sensing technology to monitor health parameters for epilepsy diagnosis, the proposed approach’s primary contributions include:
  • Designing a diagnosis decision-making assistance system that incorporates two modalities;
  • Development of a new classification system for epilepsy identification based on routinely monitored health indicators;
  • A new and improved diagnosis technique based on machine learning and fuzzy logic, as well as the novel idea of incorporating sensor data.
This paper is structured as follows: Section 2 shows the related work, and Section 3, materials and methods, shows the implementation of the experimental method and evaluation parameters. Then, the experimental results and discussion are described in Section 4. Finally, the conclusion is given in the last section.

2. Related Work

Various existing works have been published on implementing epilepsy disease diagnosis based on various intelligent techniques. A ubiquitous system was designed to track COVID-19 patients’ physical and psychological states inside and outside a hospital setting [8]. A novel data fusion approach has been suggested based on type-2 fuzzy logic [9]. The author created a novel prognostic model for health data storage to suit patient demands and ensure quick decisions in [10]. Effective data analytics based on sensed data for monitoring and evaluating patients in real time to assist medical and hospital personnel was incorporated in [11]. A precise categorization technique for heart sound diagnosis has been provided [12]. Internet of Medical Things (IoMT)-based healthcare monitoring systems have been suggested, developed, and subjected to fuzzy logic-based artificial intelligence analysis [13]. A low-cost, high-quality, versatile, wearable smart device was designed to track fitness athletes and patients with heart disorders in the healthcare system [14]. An innovative and intelligent healthcare system has been created based on cutting-edge innovations like ML and the Internet of Things (IoT) [13,15]. A suggested IoT-based healthcare infrastructure would offer patients remote monitoring in an emergency [16]. A planned indoor/outdoor information system is based on the IoT [17]. Using deep residual networks (ResNets) and the optimal S-transform (OST), a unique technique for identifying wheeze, crackle, and normal sounds has been described [18]. A telemedicine platform has been developed with an intelligent diagnosis decision-support system [19]. The seamless interface between BCI and IoT devices has been suggested using an expanded PSO-NN [20]. A framework allows caregivers to obtain data on the temperature and pulse rate of those being watched at home [21]. A proposed approach improves a cloud-based fitness healthcare system [22].
The integration of fuzzy logic systems and algorithms has been presented in several studies [23]. The researcher creates a theoretically robust model to support informed decision-making that predicts patients’ happiness with telemedicine in [24]. Using the partly observable Markov decision process (POMDP) to simulate heart disease prediction has been suggested [25]. The system’s design, implementation, first testing, and analysis are shown in [26]. Patients utilizing a Diskus dry powder inhaler were recorded using the Inhaler Compliance Assessment device [27]. A system with a scalable design that can track thousands of older people, spot falls, and alert caretakers is shown in [28]. The proposed system employed machine learning to choose a medical specialty based on a patient’s combined illness symptoms [29]. The benefits of several specific medical imaging applications have been explored [30]. Each breath cycle was automatically divided into smaller cycles and calculated using a threshold in [31]. These data can be used to know the present decision-making stage [32]. An integrated approach combines the IoT and the fuzzy inference system (FIS) to deploy intelligent illness diagnostics to identify various diseases [33]. The Smart Healthcare Management Evaluation (SHME-FDM) technique was suggested to evaluate the effectiveness of technology integration [34]. For precise illness prediction, a novel regression and classifier method using the generalized fuzzy intelligence-based ant lion optimization (GFIbALO) method has been suggested [35]. TrueImage, an automated image evaluation system with a machine learning pipeline, was presented to identify subpar dermatological photographs and assist patients in obtaining better pictures [36]. An Intelligent Diabetic Assistant (IDA.) is a suggested prototype for an autonomous system that determines the priority of treatment and diagnosis based on observations on the screen [37]. A brand-new approach to automated DR diagnosis uses cloud computing and artificial intelligence [38]. One author used the GBDT to forecast the blood pressure rate, considering physiological data gathered by the EIMO device [39,40].
Author [41] presented a lookup table to investigate EE and SE issues that enabled a fuzzy-based system and accomplished a successful symmetric trade-off to improve overall system performance in 5G networks and achieve optimum results. The main focus in [42] is on finding unfamiliar nodes in the 3D environment and proposed the implementation of APPA algorithm work to find the exact location of the nodes. Author [43] worked on three scenarios, Echelon 1, 2, and 3, to investigate different system parameters. The proposed model consumes energy and provides a better-normalized, achievable performance than a conventional model. The proposed system was simulated in NS-2 and Matlab. Using variational data assimilation, an epidemiological model for forecasting and policy evaluation is provided in [44]. It includes fresh data in real time. It is suggested in [45] to merge several sources of temporal information using a sequential network-updating strategy based on data assimilation techniques.

3. Materials and Methods

3.1. Experimental Method

We proposed a block diagram with a hybrid framework (EMLR-FLIS) considering ensemble machine learning regression (EMLR) with a fuzzy logic inference system (FLIS), as shown in Figure 2 below. Health records from wearable sensors were recorded to create standard health data for machine learning training and testing. Raw data were transformed into advanced features through feature engineering, which were then segregated into train and test feature sets. For creating a trained model, machine learning modelling was performed on the train feature set. The health score was first applied to the fuzzy inference system as a predicted output to determine the patient’s health state.

3.1.1. Wearable Sensor Health Record Dataset

This dataset includes standard clinical records concerning epilepsy patient health behaviour and has the following health attributes, shown in Table 1.
This dataset was acquired and considered under expert guidance. The proposed data were a compilation of health sensor values (as mentioned in the table) for a hundred volunteers collected daily, living for certain hours under simulated conditions. The mean value of experimentation for a single day was treated in a dataset for a hundred participants using a data logger on a cloud service platform based on IoT.

3.1.2. Data Feature Engineering

Feature engineering selects, manipulates, and transforms raw data into features used in supervised learning. For effective model learning, developing and enhancing features may be crucial. It can provide new features to streamline and speed data transformations while improving model correctness. Data transformation, missing data value checking, and data scaling are all performed in feature engineering. Data transformation converts raw data into a format more appropriate for the model or algorithm and for general data discovery. It is an essential step in the feature engineering process that facilitates insight gathering.

3.1.3. Ensemble Machine Learning Model Training and Validation

A regression-based analytics system examines the relationship between independent variables or features and a dependent variable or result. Ensemble learning is a meta-method that utilizes the predictions from various models to enhance classification performance. It is a technique for predictive modelling in machine learning, in which an algorithm is used to forecast continuous results for the classification of health data in terms of a health score, which indicates “how comfortable a person has after epilepsy”. A regression model based on ensemble learning, which employs ensemble bagging and ensemble boosting, is used in the proposed approach. The bagging method uses the average predictions from multiple trees of the decision model mapped to various sets of dataset samples. A weighted average of the predictions is produced by boosting, which entails sequentially adding ensemble members that correct the predictions provided by earlier models. The random forest bagger regressor is used in bagging, and the AdaBoost regressor is used in boosting. The output of a machine learning-based regressor is categorized into severity categories for epilepsy ranging from 0 to 1.
  • In ensemble bagging algorithms, suppose m represents all the data’s characteristics. Then, the following points are incorporated to provide the learning model.
Step 1: Build a decision tree connected to the specific sample data points by selecting k number of features at random from m features of data such that k ≪ m from the training data;
Step 2: Find the optimal split for the k features that were chosen;
Step 3: Use the optimal split to divide the node into child nodes;
Step 4: Continue until you reach the leaf node;
Step 5: Repeat this process until you have a forest of trees. Then, for new data points, locate each decision tree’s predictions, and allocate the latest data points to the category that receives the most votes. For example, in the case of classification trees, predictions could be made based on the majority of votes if B is bagging from Equation (1) as shown below:
f = 1 B b = 1 B f b ( x )
  • In ensemble boosting algorithms,
Step 1: Initialize the dataset and give each data point the same weight. The initial weighting can be determined by Equation (2):
ω = 1 / N [ 0 , 1 ]
where N indicates the total number of data points and the number of records;
Step 2: Give the model this as input and find the data points that are incorrectly categorized. The actual influence is categorizable using Equation (3) as follows:
α t = 1 2 ln ( 1 T o t a l E r r o r T o t a l E r r o r )
where alpha indicates the weight that each stump had in the final judgment; the total error is the number of misclassified data;
Step 3: Incorrectly classified data points should have more weight, whereas correctly classified data points should have less weight. Then adjust all data points’ weights to their original values. To update the sample weights, the following Equation (4) is used:
ω i = ω i 1 e ± a
Here, multiplying Euler’s number by the previous sample weight yields the new sample weight. If the records are accurately categorized, alpha will be positive; otherwise, it will be negative.

3.1.4. Fuzzy Logic Inference System and Predicted Output

A fuzzy inference system infers the values in the input vector of the health score, and based on some rules, grants values to the output vector in terms of normal, mild, and severe health conditions. The degree to which a proposition is true depends on fuzzy logic. The process flow of the fuzzy logic inference system is shown in Figure 3. The input and output health parameters as crisp input and output are defined as fuzzy input and output sets. The fuzzy logic technique to map a given input to output is known as fuzzy inference. The inference engine applies fuzzy rules from the knowledge base and produces the fuzzy output.

3.2. Experimental Procedure

The proposed experimental system, as it appears in the figure presented to accomplish WBANs, depends on the technologies of IoT devices and the embedded or wearable WBANs. In this framework, WBANs accumulate data and send them to the controller unit, which can support interpreting the information received. Furthermore, these devices are programmable and can be associated with the internet. Again, unlike sensor networks, they have no energy impediments and are connected directly to power. To this end, a proficient, intelligent approach and computational hardware are utilized.
In the proposed experiment, a supervised machine-learning approach was used. The controller unit for expert knowledge generates the anomaly events. The framework is primarily categorized in three layers, as described in Figure 4. The wearable device consists of a microcontroller-based system to which wearable sensors interface in order to monitor health parameters such as air quality, body acceleration (3-axis records), respiratory rate, heartbeat rate, oxygen level in the blood, and body temperature using MQ 135, ADXL335, MQ2, MAX30100, and DS18B20 sensors (Winsen Electronics, Hong Kong).

3.3. Experimental Algorithms

3.3.1. Algorithm for Machine Learning System

  • Input: Ei- Standard benchmark Wearable Sensor Health Parameter Dataset with features and labels
  • Output: Predicted disease health score class
  • Pi- Regression-based value [0–1]
  • Procedure:
  • Feature Engineering
Step 1: Determine the size of feature data and target data, Fz, Tz
Step 2: For in range of Fz
  • Apply scaler transformation to each sample
  • Data normalization with equal distribution for each class
  • end
2.
Classification
Step 3: Initialize parameters to train MLR models
Step 4: Find hyperparameters of the trained model using grid search optimisation
Step 5: Train the model based on best-selected hyperparameters
Step 6: Validate the model by obtaining a training loss minimum
Step 7: Store the trained model in the knowledge repository Testing
Step 8: Load user test data
Step 9: Apply feature engineering from steps 1 to 3
Step 10: Load the trained model from step 8
Step 11: Predict the health score of health parameter data to get a precise health score.

3.3.2. Algorithm for Fuzzy Inference System

  • Input: Wearable or non-wearable biomedical sensor value
  • Output: Predictive label or response
  • Procedure:
Step 1: Define linguistic variables and terms used to describe health metrics
Step 2: Build the membership function for it
Step 3: Define the knowledge rule base
Step 4: Fuzzification: The membership function converts crisp facts to fuzzy variables
Step 5: Inference engine: Analyse the rule-based model and combine the results of each rule
Step 6: Defuzzification: Conversion of output data to values that aren’t fuzzy

3.4. Evaluation Parameters

The confusion matrix, which displays the number of correctly and incorrectly classified cases by event type, is where the classification efficiency measure is generated from (normal vs abnormal). As a result, several statistics-based measurements are evaluated and used as the basis for comparative classifier analysis. Various performance measurements that evaluate a classifier’s performance are presented using the metrics mentioned. The most-often employed measures are RMSE, accuracy, precision, recall, f-score, sensitivity, and specificity. True positive (TP), true negative (TN), false positive (FP), false negative (FN), and receiver operating characteristic (ROC) are the main parameters that define the performance of an algorithm and are calculated by using Equations (5)–(12):
A c c u r a c y = ( T P + T N )   /   ( T P + T N + F P + F N )
P r e c i s i o n = T P   /   ( T P + F P )
R e c a l l   /   S e n s i t i v i t y = T P   /   ( T P + F N )
S p e c i f i c i t y = T N   /   ( T N + F P )
F s c o r e = 2   *   T P   /   ( 2 T P + F P + F N )
N e g a t i v e   P r e d i c t i v e   V a l u e   ( N P V ) = T N   /   ( T N + F N )
F a l s e   P o s i t i v e   R a t e   ( F P R ) = F P   /   ( F P + T N )
F a l s e   N e g a t i v e   R a t e   ( F N R ) = F N   /   ( F N + T P )

4. Results and Discussion

The proposed system was implemented in PyCharm software with Anaconda Distribution. The proposed system was evaluated in three phases: training, validation, and testing. The dataset samples were split randomly for each phase into 60%, 15%, and 25% of the total dataset samples for the training, validation, and test phases, respectively. Based on this, the system performance was evaluated based on a confusion matrix and statistics. A sample of the patient’s report was produced on the server once sensor data was received and sent via a smart device. Patient sensor data and patient symptoms in terms of health score make up the report’s three sections. People who live in rural areas can utilize the suggested system as an efficient and low-cost option to assess whether they have experienced a severe health issue and, if so, seek care from a hospital. The statistical health record histogram plots with input and output parameters are shown in Figure 5. It shows that there are a total of eight input parameters and two output parameters available in the dataset. The first eight histogram plots show the variation of input sensor data values.
In addition, output classification data histograms of health scores were classified 1, 2, and 3 as normal, mild, and severe, respectively, as shown in Figure 6. The majority of the output classifications were from the normal category, 54.44%, and the other two output categories, mild and severe, had 19.35% and 26.21%, respectively.
Initially, ensemble regression-based algorithms, bagging, and boosting were trained and validated as per the procedure explained in the proposed work. Later, performance was evaluated and analysed for both algorithms. The predicted data from the proposed model were compared with the ground truth classification data, i.e., actual classification data, and plotted the relationship between them, as shown in Figure 7 and Figure 8. It has been observed that the proposed system is able to predict the exact data as compared to ground truth data.
Mean squared error and accuracy were evaluated for both algorithms as described in Table 2 and graphically represented by Figure 9. The better performance was powered by the ensemble boosting algorithm at 0.99, as compared to the bagging algorithm.
After successfully training, validating, and testing regression algorithms, the proposed system was further analysed to assess the overall system performance for the regression algorithms. The confusion matrix of the proposed test structure for both systems is shown in Figure 10. It shows the relationship between actual and predicted output. Most of the samples were correctly categorised and shown diagonally in colour; only a few samples were misclassified and shown non-diagonally.
Table 3 describes the evaluation time required for the bagging and boosting algorithms for the training and testing phase and is shown in Figure 11. It is observed that the boosting-FLIS model is efficient, with minimal computation time for the training and testing phase. The classification report parameters are described in Table 4 and Table 5 and graphically represented in Figure 12 and Figure 13. The precision, recall, and f-score parameters were evaluated for three output categories: normal, mild, and severe. For normal output categories, all the performance measures were performed with 100% for both algorithms. Overall confusion matrix parameters were evaluated for f-score, sensitivity, and specificity, as shown in Figure 14 and Figure 15. Results Table 6 and Table 7 show that boosting algorithms were efficient compared to bagging-FLIS. The sensitivity and specificity performance for both algorithms were better for normal and severe output class categories with zero FPR and FNR.
Figure 16 and Figure 17 represent the ROC characteristics for bagging-FLIS and boosting-FLIS. The receiver operating characteristics, a ROC curve plot between TPR vs. FPR, shown in the figures, indicate the performance of a proposed model. In addition, it can be seen that the boosting-FLIS model has a high area under the curve (AUC).
Table 8 shows a comparative analysis with the respective existing models used by various researchers. It is observed that the proposed system is able to outperform several performance measures compared to existing work. The proposed system benefited from a fuzzy logic approach with ensemble machine learning for decision-making that is simple to use and install. Furthermore, the proposed method is innovative, relying on sensor data and effective classification. Figure 18 depicts the proposed system performance parameters in comparison with the existing model, and it is observed that the accuracy of the proposed model with boosting regression approach is efficient.

5. Conclusions

The proposed system makes intelligent patient care, monitoring, and management decisions using ensemble machine learning and fuzzy logic to determine the possible conditions of and cures for epilepsy patients. The proposed system used two ensemble machine learning-based classifiers with the fuzzy logic system to distinguish between mild and severe epilepsy and normal behaviour. The accuracy of the proposed hybrid ensemble boosting machine learning with fuzzy logic inference system approaches is 97% and was found to be efficient compared to the state-of-the-art methods. The proposed system aims to improve the system’s effectiveness in terms of cost, time, and resource utilization. The proposed technique has been broad but can be adapted to more essential scenarios, including operating rooms, intensive care units, newborns, and more complicated patients. The findings also show that a machine learning–fuzzy logic system is an excellent solution for intelligent decision-making systems due to its low device and software component count. The system can be further enhanced with classification of more health parameters with the precise acquisition of parameter readings.

Author Contributions

Funding acquisition, K.O.; Supervision, M.S.; Writing—original draft, A.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Kingsley Ogudo and The APC was funded by University of Johannesburg.

Institutional Review Board Statement

Not Applicable.

Informed Consent Statement

Patient consent was waived due to a practical problem.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Li, W.; Chai, Y.; Khan, F.; Jan, S.R.U.; Verma, S.; Menon, V.G.; Kavita; Li, X. A Comprehensive Survey on Machine Learning-Based Big Data Analytics for IoT-Enabled Smart Healthcare System. Mob. Netw. Appl. 2021, 26, 234–252. [Google Scholar] [CrossRef]
  2. Rahmani, A.M.; Yousefpoor, E.; Yousefpoor, M.S.; Mehmood, Z.; Haider, A.; Hosseinzadeh, M.; Naqvi, R.A. Machine Learning (ML) in Medicine: Review, Applications, and Challenges. Mathematics 2021, 9, 2970. [Google Scholar] [CrossRef]
  3. Pacis, D.M.M.; Subido, E.D., Jr.; Bugtai, N.T. Trends in telemedicine utilizing artificial intelligence. In AIP Conference Proceedings; AIP Publishing LLC: Melville, NY, USA, 2018; Volume 1933, p. 040009. [Google Scholar] [CrossRef]
  4. Kuziemsky, C.; Maeder, A.J.; John, O.; Gogia, S.B.; Basu, A.; Meher, S.; Ito, M. Role of Artificial Intelligence within the Telehealth Domain. Yearb. Med. Inform. 2019, 28, 035–040. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Ellahham, S. Artificial intelligence in the diagnosis and management of COVID-19: A narrative review. J. Med. Artif. Intell. 2021, 4, 4. [Google Scholar] [CrossRef]
  6. 2Latha, R.; Vetrivelan, P. Blood Viscosity based Heart Disease Risk Prediction Model in Edge/Fog Computing. In Proceedings of the 2019 11th International Conference on Communication Systems & Networks (COMSNETS), Bangalore, India, 7–11 January 2019; pp. 833–837. [Google Scholar] [CrossRef]
  7. Mrozek, D.; Koczur, A.; Małysiak-Mrozek, B. Fall detection in older adults with mobile IoT devices and machine learning in the cloud and on the edge. Inf. Sci. 2020, 537, 132–147. [Google Scholar] [CrossRef]
  8. Jayalakshmi, M.; Garg, L.; Maharajan, K.; Jayakumar, K.; Srinivasan, K.; Bashir, A.K.; Ramesh, K. Fuzzy Logic-Based Health Monitoring System for COVID’19 Patients. Comput. Mater. Contin. 2021, 67, 2431–2447. [Google Scholar] [CrossRef]
  9. Ullah, I.; Youn, H.Y.; Han, Y.-H. Integration of type-2 fuzzy logic and Dempster–Shafer Theory for accurate inference of IoT-based health-care system. Futur. Gener. Comput. Syst. 2021, 124, 369–380. [Google Scholar] [CrossRef]
  10. Mani, V.; Kavitha, C.; Band, S.S.; Mosavi, A.; Hollins, P.; Palanisamy, S. A Recommendation System Based on AI for Storing Block Data in the Electronic Health Repository. Front. Public Health 2022, 9, 831404. [Google Scholar] [CrossRef]
  11. Harb, H.; Mansour, A.; Nasser, A.; Cruz, E.M.; Diez, I.D.L.T. A Sensor-Based Data Analytics for Patient Monitoring in Connected Healthcare Applications. IEEE Sens. J. 2020, 21, 974–984. [Google Scholar] [CrossRef]
  12. Duggento, A.; Conti, A.; Guerrisi, M.; Toschi, N. Detection of abnormal phonocardiograms through the Mel-frequency ceptrum and convolutional neural networks. In Proceedings of the 2020 11th Conference of the European Study Group on Cardiovascular Oscillations (ESGCO), Virtually, 15 July 2020; pp. 1–2. [Google Scholar] [CrossRef]
  13. Mostafa, B.; Miry, A.; Salman, T. Healthcare Monitoring and Analytic System Based Internet of Thing. Iraqi J. Electr. Electron. Eng. 2020, 30–36. [Google Scholar] [CrossRef]
  14. Annamalai, M.E.A. Smart IOT Based Healthcare Monitoring and Decision-Making System Using Augmented Data Recognition Algorithm. Turk. J. Comput. Math. Educ. (TURCOMAT) 2021, 12, 1971–1979. [Google Scholar] [CrossRef]
  15. Kassem, A.; Tamazin, M.; Aly, M.H. An Intelligent IoT-Based Wearable Health Monitoring System. In Recent Advances in Engineering Mathematics and Physics; Farouk, M., Hassanein, M., Eds.; Springer: Cham, Switzerland, 2020; pp. 373–389. [Google Scholar] [CrossRef]
  16. Hameed, K.; Bajwa, I.S.; Ramzan, S.; Anwar, W.; Khan, A. An Intelligent IoT Based Healthcare System Using Fuzzy Neural Networks. Sci. Program. 2020, 2020, 8836927. [Google Scholar] [CrossRef]
  17. 15Filho, I.D.M.B.; Aquino, G.; Malaquias, R.S.; Girao, G.; Melo, S.R.M. An IoT-Based Healthcare Platform for Patients in ICU Beds During the COVID-19 Outbreak. IEEE Access 2021, 9, 27262–27277. [Google Scholar] [CrossRef]
  18. Dziak, D.; Jachimczyk, B.; Kulesza, W.J. IoT-Based Information System for Healthcare Application: Design Methodology Approach. Appl. Sci. 2017, 7, 596. [Google Scholar] [CrossRef]
  19. Chen, H.; Yuan, X.; Pei, Z.; Li, M.; Li, J. Triple-Classification of Respiratory Sounds Using Optimized S-Transform and Deep Residual Networks. IEEE Access 2019, 7, 32845–32852. [Google Scholar] [CrossRef]
  20. Faris, H.; Habib, M.; Faris, M.; Elayan, H.; Alomari, A. An intelligent multimodal medical diagnosis system based on patients’ medical questions and structured symptoms for telemedicine. Inform. Med. Unlocked 2021, 23, 100513. [Google Scholar] [CrossRef]
  21. Idowu, O.P.; Samuel, O.W.; Li, X.; Asogbon, M.G.; Fang, P.; Li, G. Efficient Classification of Motor Imagery using Particle Swarm Optimization-based Neural Network for IoT Applications. In Proceedings of the 2020 IEEE International Workshop on Metrology for Industry 4.0 & IoT, Roma, Italy, 3–5 June 2020; pp. 600–604. [Google Scholar] [CrossRef]
  22. Vani, K.; Neeralagi, R.R. IoT based Health Monitoring using Fuzzy logic. Int. J. Comput. Intell. Res. 2017, 13, 2419–2429. [Google Scholar]
  23. Thilagavathy, A.; Meenakshi, S.; Vijayabhaskar, V.; Babu, M.D.; Kumari, S.; Gunavathie, M.A. An Efficient Health Monitoring Method Using Fuzzy Inference System via Cloud. Indian J. Sci. Technol. 2021, 14, 2145–2151. [Google Scholar] [CrossRef]
  24. Vyas, S.; Gupta, S.; Bhargava, D.; Boddu, R. Fuzzy Logic System Implementation on the Performance Parameters of Health Data Management Frameworks. J. Health Eng. 2022, 2022, 9382322. [Google Scholar] [CrossRef]
  25. Zobair, K.M.; Sanzogni, L.; Houghton, L.; Islam, Z. Forecasting care seekers satisfaction with telemedicine using machine learning and structural equation modeling. PLoS ONE 2021, 16, e0257300. [Google Scholar] [CrossRef]
  26. Salman, O.H.; Taha, Z.; Alsabah, M.Q.; Hussein, Y.S.; Mohammed, A.S.; Aal-Nouman, M. A review on utilizing machine learning technology in the fields of electronic emergency triage and patient priority systems in telemedicine: Coherent taxonomy, motivations, open research challenges and recommendations for intelligent future work. Comput. Methods Programs Biomed. 2021, 209, 106357. [Google Scholar] [CrossRef] [PubMed]
  27. Malapane, T.; Doorsamy, W.; Paul, B. An Intelligent IoT-based Health Monitoring System. In Proceedings of the 2020 International Conference on Intelligent Data Science Technologies and Applications (IDSTA), Valencia, Spain, 19–22 October 2020; pp. 95–100. [Google Scholar] [CrossRef]
  28. McNulty, J.; Reilly, R.B.; Taylor, T.E.; O’Dwyer, S.M.; Costello, R.W.; Zigel, Y. Automatic Audio-Based Classification of Patient Inhaler Use: A Pharmacy Based Study. In Proceedings of the 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Berlin, Germany, 23–27 July 2019; pp. 2606–2609. [Google Scholar] [CrossRef]
  29. Saeed, J.N.; Ameen, S.Y. Smart Healthcare for ECG Telemonitoring System. J. Soft Comput. Data Min. 2021, 2, 75–85. [Google Scholar] [CrossRef]
  30. Rahman, L.; Nabid, R.A.; Hossain, F. Disease Symptom Analysis Based Department Selection Using Machine Learning for Medical Treatment. In Proceedings of the 2020 IEEE International Students’ Conference on Electrical, Electronics and Computer Science (SCEECS), Bhopal, India, 22–23 February 2020; pp. 1–5. [Google Scholar] [CrossRef]
  31. Esteva, A.; Chou, K.; Yeung, S.; Naik, N.; Madani, A.; Mottaghi, A.; Liu, Y.; Topol, E.; Dean, J.; Socher, R. Deep learning-enabled medical computer vision. Npj Digit. Med. 2021, 4, 1–9. [Google Scholar] [CrossRef] [PubMed]
  32. Singh, O.P.; Kumarasamy, R.; Hamid, Z.N.B.A.; Malarvili, M. Identification of Asthmatic Patient During Exercise Using Feature Extraction of Carbon Dioxide Waveform. In Proceedings of the 2019 IEEE International Conference on Signal and Image Processing Applications (ICSIPA), Kuala Lumpur, Malaysia, 17–19 September 2019; pp. 17–22. [Google Scholar] [CrossRef]
  33. Talpada, H.; Halgamuge, M.N.; Vinh, N.T.Q. An Analysis on Use of Deep Learning and Lexical-Semantic Based Sentiment Analysis Method on Twitter Data to Understand the Demographic Trend of Telemedicine. In Proceedings of the 2019 11th International Conference on Knowledge and Systems Engineering (KSE), Da Nang, Vietnam, 24–26 October 2019; pp. 1–9. [Google Scholar] [CrossRef]
  34. Alam, T.M.; Shaukat, K.; Khelifi, A.; Khan, W.A.; Raza, H.M.E.; Idrees, M.; Luo, S.; Hameed, I.A. Disease Diagnosis System Using IoT Empowered with Fuzzy Inference System. Comput. Mater. Contin. 2022, 70, 5305–5319. [Google Scholar] [CrossRef]
  35. Quasim, M.T.; Shaikh, A.; Shuaib, M.; Sulaiman, A.; Alam, S.; Asiri, Y. Smart Healthcare Management Evaluation using Fuzzy Decision Making Method. Res. Sq. 2021. [Google Scholar] [CrossRef]
  36. Verma, A.; Agarwal, G.; Gupta, A.K. A novel generalized fuzzy intelligence-based ant lion optimization for internet of things based disease prediction and diagnosis. Clust. Comput. 2022, 25, 3283–3298. [Google Scholar] [CrossRef]
  37. Vodrahalli, K.; Daneshjou, R.; A Novoa, R.; Chiou, A.; Ko, J.M.; Zou, J. TrueImage: A Machine Learning Algorithm to Improve the Quality of Telehealth Photos. In Proceedings of the Pacific Symposium on Biocomputing, Kohala Coast, HI, USA, 3–7 January 2021; Volume 26, pp. 220–231. [Google Scholar]
  38. Wijesinghe, I.; Gamage, C.; Perera, I.; Chitraranjan, C. A Smart Telemedicine System with Deep Learning to Manage Diabetic Retinopathy and Foot Ulcers. In Proceedings of the 2019 Moratuwa Engineering Research Conference (MERCon), Moratuwa, Sri Lanka, 3–5 July 2019; pp. 686–691. [Google Scholar] [CrossRef]
  39. Yung-Hui, L.; Nai-Ning, Y.; Purwandari, K.; Harfiya, L.N. Clinically Applicable Deep Learning for Diagnosis of Diabetic Retinopathy. In Proceedings of the 2019 Twelfth International Conference on Ubi-Media Computing (Ubi-Media), Bali, Indonesia, 5–8 August 2019; pp. 124–129. [Google Scholar] [CrossRef]
  40. Zhang, B.; Ren, J.; Cheng, Y.; Wang, B.; Wei, Z. Health Data Driven on Continuous Blood Pressure Prediction Based on Gradient Boosting Decision Tree Algorithm. IEEE Access 2019, 7, 32423–32433. [Google Scholar] [CrossRef]
  41. Khalaf, O.I.; Ogudo, K.A.; Singh, M. A Fuzzy-Based Optimization Technique for the Energy and Spectrum Efficiencies Trade-Off in Cognitive Radio-Enabled 5G Network. Symmetry 2020, 13, 47. [Google Scholar] [CrossRef]
  42. Walia, G.S.; Singh, P.; Singh, M.; Abouhawwash, M.; Park, H.J.; Kang, B.-G.; Mahajan, S.; Pandit, A.K. Three Dimensional Optimum Node Localization in Dynamic Wireless Sensor Networks. Comput. Mater. Contin. 2022, 70, 305–321. [Google Scholar] [CrossRef]
  43. Singh, M.; Kumar, M.; Malhotra, J. Energy efficient cognitive body area network (CBAN) using lookup table and energy harvesting. J. Intell. Fuzzy Syst. 2018, 35, 1253–1265. [Google Scholar] [CrossRef]
  44. Nadler, P.; Wang, S.; Arcucci, R.; Yang, X.; Guo, Y. An epidemiological modelling approach for COVID-19 via data assimilation. Eur. J. Epidemiol. 2020, 35, 749–761. [Google Scholar] [CrossRef] [PubMed]
  45. Cheng, S.; Arcucci, R.; Pain, C.C.; Guo, Y.K. Optimal vaccination strategies for COVID-19 based on dynamical social networks with real-time updating. arXiv 2021, arXiv:2103.00485. [Google Scholar]
Figure 1. Hybrid intelligent model.
Figure 1. Hybrid intelligent model.
Sustainability 14 15079 g001
Figure 2. Proposed intelligent framework using EMLR-FLIS.
Figure 2. Proposed intelligent framework using EMLR-FLIS.
Sustainability 14 15079 g002
Figure 3. Process diagram of fuzzy logic inference system.
Figure 3. Process diagram of fuzzy logic inference system.
Sustainability 14 15079 g003
Figure 4. Proposed framework.
Figure 4. Proposed framework.
Sustainability 14 15079 g004
Figure 5. Output classification data histograms.
Figure 5. Output classification data histograms.
Sustainability 14 15079 g005
Figure 6. Count of classification data.
Figure 6. Count of classification data.
Sustainability 14 15079 g006
Figure 7. Predicted vs. actual (ground truth) output nature using bagging regressor.
Figure 7. Predicted vs. actual (ground truth) output nature using bagging regressor.
Sustainability 14 15079 g007
Figure 8. Predicted vs. actual (ground truth) output nature using boosting regressor.
Figure 8. Predicted vs. actual (ground truth) output nature using boosting regressor.
Sustainability 14 15079 g008
Figure 9. Regressor algorithm performance.
Figure 9. Regressor algorithm performance.
Sustainability 14 15079 g009
Figure 10. Confusion matrix using (a) Bagging-FLIS and (b) Boosting-FLIS.
Figure 10. Confusion matrix using (a) Bagging-FLIS and (b) Boosting-FLIS.
Sustainability 14 15079 g010
Figure 11. Evaluation time performance.
Figure 11. Evaluation time performance.
Sustainability 14 15079 g011
Figure 12. Performance of classification report for bagging-FLIS.
Figure 12. Performance of classification report for bagging-FLIS.
Sustainability 14 15079 g012
Figure 13. Performance of classification report for boosting-FLIS.
Figure 13. Performance of classification report for boosting-FLIS.
Sustainability 14 15079 g013
Figure 14. Evaluation parameters for bagging-FLIS.
Figure 14. Evaluation parameters for bagging-FLIS.
Sustainability 14 15079 g014
Figure 15. Evaluation parameters for boosting-FLIS.
Figure 15. Evaluation parameters for boosting-FLIS.
Sustainability 14 15079 g015
Figure 16. ROC for bagging-FLIS.
Figure 16. ROC for bagging-FLIS.
Sustainability 14 15079 g016
Figure 17. ROC for boosting-FLIS.
Figure 17. ROC for boosting-FLIS.
Sustainability 14 15079 g017
Figure 18. Comparative analysis of performance parameters with the existing methods, [8,9,12,15,18,25,28,30,32,39].
Figure 18. Comparative analysis of performance parameters with the existing methods, [8,9,12,15,18,25,28,30,32,39].
Sustainability 14 15079 g018
Table 1. Health Attributes for Epilepsy Patients.
Table 1. Health Attributes for Epilepsy Patients.
InputMeasures inOutput
Air qualityParts per million (PPM)Health score
(Regression-based value)
Body accelerationThree-axis motion records
Respiratory rateBreath per min
Heartbeat rateBeats per minute (BPM)
Oxygen level in bloodPercentage (%)
Body temperatureDegrees Celsius (°C)
Table 2. Performance of Regressor Algorithm.
Table 2. Performance of Regressor Algorithm.
ParametersEnsemble BaggingEnsemble Boosting
RMSE0.020.01
Accuracy0.980.99
Table 3. Evaluation Time.
Table 3. Evaluation Time.
PhaseBagging-FLIS (s)Boosting-FLIS (s)
Training5.913.11
Testing3.522.89
Table 4. Classification Report for Bagging-Flis.
Table 4. Classification Report for Bagging-Flis.
ClassesPrecisionRecallF-Score
Normal1.001.001.00
Mild1.000.330.50
Severe0.841.000.91
Table 5. Classification Report for Boosting-FLIS.
Table 5. Classification Report for Boosting-FLIS.
ClassesPrecisionRecallF-Score
Normal1.001.001.00
Mild1.000.670.85
Severe0.941.000.97
Table 6. Confusion Matrix Parameters for Bagging-FLIS.
Table 6. Confusion Matrix Parameters for Bagging-FLIS.
ClassSensitivitySpecificityNPVFPRFNR
Normal11100
Mild0.3310.9400.66
Severe10.9210.070
Table 7. Confusion Matrix Parameters for Boosting-Flis.
Table 7. Confusion Matrix Parameters for Boosting-Flis.
ClassSensitivitySpecificityNPVFPRFNR
Normal11100
Mild0.6610.9700.33
Severe10.9610.030
Table 8. Comparative Performance Analysis.
Table 8. Comparative Performance Analysis.
RefAccuracySensitivitySpecificityPrecisionError RateF Score
[8]91.8-96.5---
[9]95.198.1---96.6
[12]----2076
[15]92-----
[18]95.5-----
[25]96.1898.3696.7596.11-98.16
[28]89.3589.22----
[30]80--83-78
[32]83.8910077.8---
[39]86.1189.390.89---
Boosting (AdaBoost)979098.6697194
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kadu, A.; Singh, M.; Ogudo, K. A Novel Scheme for Classification of Epilepsy Using Machine Learning and a Fuzzy Inference System Based on Wearable-Sensor Health Parameters. Sustainability 2022, 14, 15079. https://doi.org/10.3390/su142215079

AMA Style

Kadu A, Singh M, Ogudo K. A Novel Scheme for Classification of Epilepsy Using Machine Learning and a Fuzzy Inference System Based on Wearable-Sensor Health Parameters. Sustainability. 2022; 14(22):15079. https://doi.org/10.3390/su142215079

Chicago/Turabian Style

Kadu, Ankush, Manwinder Singh, and Kingsley Ogudo. 2022. "A Novel Scheme for Classification of Epilepsy Using Machine Learning and a Fuzzy Inference System Based on Wearable-Sensor Health Parameters" Sustainability 14, no. 22: 15079. https://doi.org/10.3390/su142215079

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop