Next Article in Journal
Assessment of Number of Critical Satellites for Ground-Based Augmentation System Continuity Allocation to Support Category II/III Precision Approaches
Next Article in Special Issue
Liability of Health Professionals Using Sensors, Telemedicine and Artificial Intelligence for Remote Healthcare
Previous Article in Journal
A Federated Learning Model Based on Hardware Acceleration for the Early Detection of Alzheimer’s Disease
Previous Article in Special Issue
Optimization of Spatial and Temporal Configuration of a Pressure Sensing Array to Predict Posture and Mobility in Lying
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automated Arrhythmia Classification Using Farmland Fertility Algorithm with Hybrid Deep Learning Model on Internet of Things Environment

by
Ahmed S. Almasoud
1,
Hanan Abdullah Mengash
2,*,
Majdy M. Eltahir
3,
Nabil Sharaf Almalki
4,
Mrim M. Alnfiai
5 and
Ahmed S. Salama
6
1
Department of Information Systems, College of Computer and Information Sciences, Prince Sultan University, Riyadh 12435, Saudi Arabia
2
Department of Information Systems, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, Riyadh 11671, Saudi Arabia
3
Department of Information Systems, College of Science & Art at Mahayil, King Khalid University, Riyadh 12372, Saudi Arabia
4
Department of Special Education, College of Education, King Saud University, Riyadh 12372, Saudi Arabia
5
Department of Information Technology, College of Computers and Information Technology, Taif University, Taif 21944, Saudi Arabia
6
Department of Electrical Engineering, Faculty of Engineering & Technology, Future University in Egypt, New Cairo 11845, Egypt
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(19), 8265; https://doi.org/10.3390/s23198265
Submission received: 5 August 2023 / Revised: 12 September 2023 / Accepted: 19 September 2023 / Published: 6 October 2023
(This article belongs to the Special Issue Remote Healthcare with Sensors and Internet of Things)

Abstract

:
In recent years, the rapid progress of Internet of Things (IoT) solutions has offered an immense opportunity for the collection and dissemination of health records in a central data platform. Electrocardiogram (ECG), a fast, easy, and non-invasive method, is generally employed in the evaluation of heart conditions that lead to heart ailments and the identification of heart diseases. The deployment of IoT devices for arrhythmia classification offers many benefits such as remote patient care, continuous monitoring, and early recognition of abnormal heart rhythms. However, it is challenging to diagnose and manually classify arrhythmia as the manual diagnosis of ECG signals is a time-consuming process. Therefore, the current article presents the automated arrhythmia classification using the Farmland Fertility Algorithm with Hybrid Deep Learning (AAC-FFAHDL) approach in the IoT platform. The proposed AAC-FFAHDL system exploits the hyperparameter-tuned DL model for ECG signal analysis, thereby diagnosing arrhythmia. In order to accomplish this, the AAC-FFAHDL technique initially performs data pre-processing to scale the input signals into a uniform format. Further, the AAC-FFAHDL technique uses the HDL approach for detection and classification of arrhythmia. In order to improve the classification and detection performance of the HDL approach, the AAC-FFAHDL technique involves an FFA-based hyperparameter tuning process. The proposed AAC-FFAHDL approach was validated through simulation using the benchmark ECG database. The comparative experimental analysis outcomes confirmed that the AAC-FFAHDL system achieves promising performance compared with other models under different evaluation measures.

1. Introduction

The Internet of Things (IoT) involves intercommunication among a wide variety of smart devices such as sensor devices, laptops, smartphones, and personal digital assistants (PDAs) [1]. Amongst different domains of IoT applications, healthcare is one of the major domains that has gained attention in recent years. The wide possibilities of the IoT have resulted in the development of various medical applications to assist with chronic diseases, older people care, fitness programs, and remote health monitoring [2]. However, another important and possible application of IoT in the healthcare domain is conformity with medication and therapy at home by medical professionals. In this background, diagnostic devices, imaging devices, sensors, and medical equipment are considered smart devices and form the IoT platform [3]. IoT-based medical facilities have the potential to reduce the costs incurred upon diagnosis and improve the user skills and quality of life. In the aspect of medical staff, the IoT can utilize remote requirements so as to reduce the device’s downtime. Electrocardiograph (ECG) is the Cartesian representation of the electrical signals produced by the heart. ECG can be employed in measuring the heartbeat’s rate and regularity, and the chamber’s size and position [4]. This simple non-invasive technique can be exploited to detect a few heart diseases (HD) and analyze the impact of drugs or heart regulatory devices. ECG devices with changing counts of electrodes (three to twelve) are utilized for signal acquisition, while the ECG signals are nonstationary in nature. Due to this characteristic, a medical specialist or a cardiologist might fail to examine the heart’s condition [5]. According to the WHO, Cardiovascular Diseases (CVDs) are the main cause of death around the world. Among CVD-related deaths, cardiac arrhythmia is the main contributor. Disturbances that occur in the heart rate, due to abnormal impulse formation or electrical conduction in the heart, are named under ‘arrhythmia’.
IoT devices have been developed and utilized in a number of applications for improving, communicating, and monitoring purposes [6]. Moreover, they provide data at the exact time without discussion with medical experts, and this phenomenon might be highly effective in rural regions [7]. Arrhythmia cases are detected by gathering signals from individuals and measuring them with the help of an analytical instrument, an ECG. Some of the significant processes conducted for the classification of arrhythmia include feature selection (FS), feature extraction, and classification [8]. The problem to overcome is that the classification process must be executed even with unbalanced data. Various optimization techniques are employed in the optimization of the hyperparameters of a classifier. The Deep Neural Network (DNN) enables the extraction of higher-level features, which are required for the identification of arrhythmia without human interpolation [9]. Wearable medical devices have been developed to reduce the mortality rates that occur due to HD arrhythmia by measuring blood pressure (BP) level and by monitoring the heartbeat, body temperature, and other such physical health factors [10].
The current research article presents the automated arrhythmia classification using a Farmland Fertility Algorithm with Hybrid Deep Learning (AAC-FFAHDL) approach in the IoT platform. The presented AAC-FFAHDL technique exploits the hyperparameter-tuned DL model for ECG signal analysis, thereby detecting the arrhythmia. To accomplish this, the AAC-FFAHDL technique initially performs data pre-processing to scale the input signals into a uniform format. Further, the AAC-FFAHDL technique uses HDL for the detection and classification of arrhythmia. In order to improve the classification and detection results of the HDL algorithm, the AAC-FFAHDL technique involves an FFA-based hyperparameter tuning process. The AAC-FFAHDL system was experimentally validated using the benchmark ECG database. In short, the major contributions of the current research work are listed herewith.
  • Presentation of an automated AAC-FFAHDL technique comprising pre-processing, HDL-based classification, and FFA-based hyperparameter tuning for arrhythmia classification. To the best of the authors’ knowledge, the AAC-FFAHDL model has never been presented in the literature.
  • Employment of the HDL model for the classification process, which leverages the benefits of both CNN and GRU models.
  • Hyperparameter optimization of the HDL model using the FFA algorithm through a cross-validation method helps in boosting the predictive outcomes of the AAC-FFAHDL model for unseen data.

2. Related Works

Kumar et al. [11] proposed an efficient classification method for the classification of HD by employing the flamingo optimization technique. Primarily, the ECG signal from the heart was gathered, after which it was exposed to the pre-processing phase for detecting and controlling the electrical signal of the heart. The input signals were gathered by exploiting the IoT nodes, which can altogether exist in BS for classification by employing flamingo-optimizer-based DCNs. In the study conducted earlier [12], an automatic classification model was proposed for the identification of arrhythmia using the optimized DL-classifier. In this study, the ECG signals gathered utilizing the IoT nodes were processed to produce the difficult QRS and RR intervals to determine the feature vectors. The latter task was performed using the developed Coy–Grey Wolf optimizer-based deep CNN (Coy–GWO-based Deep CNN) classifier for the detection of anomalies in ECG signal. Jagadeesh et al. [13] introduced an automatic arrhythmia classification technique by applying a Harris Hawks optimizer-based DL (AC-HHODL) approach in the IoT. In this study, the MobileNetv2 algorithm was implemented to generate a group of feature vectors. Further, the HHO approach was employed for optimal hyperparameter modification of the MobileNetv2 algorithm. In addition to these, the least square-SVM (LS-SVM) method was also exploited for accurate classification of arrhythmia.
Karthiga and Abirami [14] presented an ECG surveillance system by employing the IoT using two phases. Primarily, a routing protocol was developed based on Routing by Energy and Link quality (REL) and Dynamic Source Routing (DSR) for IoT medical platforms. Secondarily, the classification of the ECG signal was executed. This study compared the proposed method with other methods such as ANN, CNNs, and SVM-based techniques for classifying the ECG signals. Alnaggar et al. [15] introduced a hybrid design combining two models, namely, the ECG Heartbeat Multiclass Classification model (ECG-HMCM) and the Heart Attack Detection Model (HADM). In this study, Gridsearch was employed for the optimization of the hyperparameters for various ML approaches. In this architecture, the HADM database was deployed while the KNN algorithm was employed to make both ECG-HMCM as well as the Gridsearch method applicable for hyperparameter optimization. In literature [16], a new technique was introduced for the identification of the SVCA using the ECG signals. The Fixed Frequency Range Empirical Wavelet Transform (EWT) (FFREWT) filter bank was proposed for multi-scale examination of the ECG signals. The framework of the developed deep CNN had a total of four dense layers, four convolution layers, and two pooling layers.
Kumar et al. [17] developed a structure that allows the emergence of real diagnostic instruments to detect cardiac arrhythmia in actual time. In this study, the ECG signal was processed utilizing the Pan Tompkins QRS (Quantum Resonance System) identification technique for the extraction of the dynamic features of the signal. In the study conducted earlier [18], an IoT system was developed to monitor the ECG signals and process the heart data. Firstly, the IoT surveillance systems and communication among the parts were determined. Secondly, the study method trained and tested three classification approaches, which are the KNNs, RF, and the CNN.
Hemalatha [19] designed a new AdaBoost kernel-SVM-based remora optimization (AKSVM-based RO) technique for analyzing the ECG signals and initializing the crisis with the least possible time delay. The algorithm developed in this study was able to estimate the ECG signals of an arrhythmia-impacted individual from the IoT wearable device. In literature [20], a new cloud-based arrhythmia identification utilizing the Recurrent Neural Network (RNN) (NC-RNN) approach was developed for conducting the ECG analysis using wearable sensors in a smart city background. The ECG signal, gathered from the wearable sensor, was made to undergo a three-stage diagnostic phase. In the study conducted earlier [21], an integrated 1D-CNN technique was introduced. The interpretation component of the developed method can adapt itself through the fog structure so as to identify the ECG signals and establish emergency actions within the shortest time. However, its training method can be implemented only on the computationally improved cloud data centers. Lu et al. [22] presented the LSTM technique for increasing the accuracy of the diagnostic procedure. A classification technique was developed in this study for arrhythmia based on the CNN-LSTM framework. Primarily, the deep-CNN model was developed for encoding the ECG signals and extracting the morphological features of the ECG signals. Secondarily, the necessary features were deeply mined utilizing the temporal correlative LSTM approach by learning the morphological representation of the features. In literature [23], the authors extracted the non-linear and linear features gathered from the 5G-assisted medical IoT devices to make a time–frequency spectrogram from HRV sequences. This study employed a DL method based on the incorporation of a deep-CNN and an LSTM method for the classification of ARR intervals and normal sinus intervals. Yadav et al. [24] designed an innovative technique to monitor and analyze cardiac arrhythmia by employing the IoT platform. The authors also exploited a novel Fuzzy Logic (FL)-based-NN classifier method for the identification of cardiac arrhythmia.

3. The Proposed Model

In the current research work, a novel AAC-FFAHDL approach is presented for automated arrhythmia classification in the IoT platform. The presented AAC-FFAHDL system exploits the hyperparameter-tuned DL model for ECG signal analysis, thereby detecting arrhythmia. To accomplish this, the AAC-FFAHDL technique follows a three-step procedure, namely, data pre-processing, HDL-based classification, and FFA-based hyperparameter tuning. Figure 1 depicts the entire procedure of the proposed AAC-FFAHDL method.

3.1. Data Pre-Processing

In this stage, the input ECG data are employed to detect arrhythmia in its early stages. The data are pre-processed following a typical scalar transform approach so that normalized data are achieved and the unrelated noisy data are eliminated. Various approaches exist for data normalization such as averaging, min–max scaling, and standard scaling. In the current study, a typical scalar is employed for normalizing the data. The standard scalar employs the Standard Normal Distribution (SND), where its mean is 0 and variance is 1. The mathematical model is defined in Equation (1).
z = x μ s d      
where sd implies the Standard Deviation, z denotes the typical feature space of the x input data instances, and μ denotes the mean.

3.2. Arrhythmia Detection Using HDL Model

In this stage, the HDL approach is executed for the diagnosis and classification of arrhythmia. The HDL approach contains CNN-GRU methods. The upgraded LSTM structure is termed as GRU. To regulate data flow, the GRUs also take a gate infrastructure similar to LSTM. However, unlike the LSTMs, GRU does not have an output gate; thus, it allows the content to be completely revealed. The update and reset gates can obtain only two gates from the GRU. The forget gate and the input gate of the LSTM infrastructure can be integrated into a second gate. With regard to LSTM, GRUs take a simple infrastructure and any parameter, if introduced, enhances the outcome.
The formulas below provide the GRU equation.
r t = s i g m W x r x t + W h r h t 1 + b r
z t = s i g m W x z x t + W h z h t 1 + b z  
h ˜ t = t a n h W x h x t + W h h r t h t 1 + b h  
h t = z t h t 1 + 1 z t h ˜ t )
where ‘ h t ’, ‘ x t ’, ‘ z t ’, and ‘ r t denote the output and input vectors, and the update and reset gates, respectively. Like LSTM, b implies the bias; W defines the weighted layer; and s i g m and t a n h represent the sigmoid and tangent functions, respectively. Either LSTM or GRU controls the longer dependencies. In this case, it can be utilized for both structures to evaluate its potential to classify the network traffic.
The fundamental CNN model contains three major modules: the convolution, pooling, and output layers. Amongst these, the pooling layer can be chosen. A typical CNN infrastructure contains three convolutional layers and is extensively employed in image classification tasks. It takes one input layer, many Hidden Layers (HLs) (HLs contain pooling, normalization, and convolutional), and an FC layer to the final layer named as the ‘resultant layer’. The response to the next layer is computed with the support of mathematical convolutional functions of the 1st or input layer.
The CNN-GRU approach contains three convolutional layers (C) along with two GRU layers (G) and one HL (H). It employs 32 neurons for the C layer and 64 neurons for the G layer. The neuron for the final layer (resultant layer) corresponds to the labels from the database. G and C layers employ the ReLU function for activation. Figure 2 displays the framework of CNN-GRU. The softmax S max activation function, which offers the outcome with respect to prediction probability, is employed in the last layer. With the deployment of the softmax layer, the vector of the numbers is changed as a vector of probabilities; however, all the probability values are inversely proportional to its comparative scale.

3.3. Parameter Tuning using FFA

In order to optimally adjust the parameters of the HDL approach, the FFA technique is applied. FFA is a recent metaheuristic approach inspired from the natural fertility of agricultural land. In the FFA technique, the solution gets enhanced with the division of agricultural land. The solution of every section is optimized using the optimum exploitation of the internal and external memory. Firstly, the primary population is produced in a random manner and a primary parameter is set. Unlike the other approaches, the solution is also divided. Next, the count of initial population is described as follows:
N = k × n  
Here, k shows the amount of land space or parts and   n specifies the overall amount of solution in the search space. At this stage, the solution available in the search space is assessed by FF. The FFA technique takes a separate part to define the k value that shows the optimum value for 8 k 2 . However, according to the optimization problem, the k value gets changed. At first, the solution is allocated to various parts using the following equation:
S e c t i o n s = x a j ,   a = n s 1 :   n × s ,  
s = 1 , 2 ,   k ,   j = 1 , 2 ,   D
Here, the present solution separates every part to determine the average of every section. s indicates the section number,   x denotes the solution in the search space, and j = { 1 , 2 ,     D } refers to the dimension of the variable x . The quality of every part is defined by Equation (3) after segmentation.
F i t S e c t i o n s = M e a n a l l f i t   x j i i n   S e c t i o n s
s = 1.2 k .   i = 1.2 n
Here, F i t S e c t i o n shows the value that defines the solution’s quality in every section of the agricultural land that is similar to the average fit or suitability of the solution. Thus, for every agricultural land part, the average solution within every part is attained and stored in F i t S e c t i o n s . Equation (9) is used for updating the local memory and Equation (10) is exploited for global memory.
M G l o b a l = r o u n d t × N ;   0.1 < t < 1    
M l o c a l = r o u n d t × n ;   0.1 < t < 1
where M G l o b a l and M l o c a l denote the solution counts from global and local memory solutions, respectively, based on suitability and fitness. Furthermore, these two memories are also updated. The section with the worst quality variations show most of the work progressions. The worst part of agricultural land in terms of quality is integrated with a global memory solution based on the following expression:
h = α . r a n d 1.1  
X n e w = h . X ij X M G l o b a l + X ij
where X M G l o b a 1 refers to random solutions available in global memory and α denotes the number within [0.1]. X i j ˙ shows the performance in the worst part of the agricultural lands chosen to execute the alters, and h indicates the decimal value evaluated using Equation (11). Based on Equations (13) and (14), the solutions in other sections tend to change.
h = β . r a n d 0.1    
X n e w = h × X i j ˙ X U j ˙ + X i j ˙
Here, X U j ˙ denotes the arbitrary solution amongst the available solutions in the searching space and β refers to a number in the range of [0,1]. X i j indicates the solution from the part chosen to execute the alters, and h represents a decimal number evaluated using Equation (14). The hybridization of the desired resolution with B e s t G l o b a l or B e s t L o c a l is defined as follows:
H = X n e w = X i j + ω 1 X i j B e s t G l o b a l b i f   Q > r a n d X n e w = X i j + r a n d 0.1 × X i j B e s t L o c a l b   e l s e  
Here, Q refers to a parameter initialized within [0,1]. This parameter shows the extent to which the solution is combined t G l o b a l .   ω 1 .
ω 1 = ω 1 . R v , 0 < R v < 1  
According to the objective function, the solution available throughout the search space is assessed. Notwithstanding the number of sections, this step is executed on the solution available in the search space. The terminal condition is checked at the end. If the ending criteria is reached, the process ends; otherwise, the process is continued until the terminal condition is reached.
The FFA methodology develops the Fitness Function (FF) for realizing the best classifier solution. It explains a positive integer to signify a good solution for candidate performances. In this effort, the minimized classifier rate of the errors is supposed to be the FF, as written in Equation (17).
f i t n e s s x i = C l a s s i f i e r E r r o r R a t e x i = N o .   o f   m i s c l a s s i f i e d   i n s t a n c e s   T o t a l   n o .   o f   i n s t a n c e s 100

4. Results and Discussion

The proposed AAC-FFAHD algorithm was validated through simulation using the MIT-BIH dataset (https://physionet.org/content/mitdb/1.0.0/, accessed on 14 June 2023). The proposed model was simulated using Python 3.6.5 on a PC equipped with an i5-8600k, GeForce 1050Ti 4 GB, 16 GB RAM, 250 GB SSD, and 1 TB HDD. The parameter settings are as follows: learning rate, 0.01; dropout, 0.5; batch size, 5; epoch count, 50; and activation, ReLU. For experimental validation, different training/testing dataset ratios were used: 40:60, 50:50, 60:40, 70:30, and 80:20.
In Table 1 and Figure 3, the comparative a c c u y investigation outcomes of the AAC-FFAHD system are shown [11]. The simulation values highlight that the proposed AAC-FFAHD method reached better outcomes with varying training (TR) values. With 40% TR data, the AAC-FFAHD technique obtained a maximum a c c u y of 98.63%, whereas the LR, NN, DCNN, LSTM, and F-DCNN models attained the least a c c u y values of 93.30%, 95.98%, 96.46%, 97.37%, and 98.20%, respectively. In addition, with 50% TR data, the AAC-FFAHD approach accomplished a superior a c c u y of 98.96%, whereas the LR, NN, DCNN, LSTM, and F-DCNN methods attained the lowest a c c u y values of 93.42%, 95.95%, 96.61%, 97.57%, and 98.62%, respectively. Afterwards, with 80% TR data, the AAC-FFAHD system yielded an improved a c c u y of 98.98%, whereas the LR, NN, DCNN, LSTM, and F-DCNN algorithms achieved low a c c u y values of 93.68%, 96.38%, 96.70%, 98.12%, and 98.73%, respectively.
In Table 2 and Figure 4, the detailed s e n s y investigation outcomes achieved by the proposed AAC-FFAHD algorithm are shown. The simulation values define that the AAC-FFAHD system reached a better performance with varying TR values. With 40% TR data, the AAC-FFAHD approach gained a superior s e n s y of 98.95%, whereas the LR, NN, DCNN, LSTM, and F-DCNN models achieved minimal s e n s y values of 93.27%, 96.26%, 96.58%, 97.90%, and 98.65%, respectively. Also, with 50% TR data, the AAC-FFAHD technique obtained a higher s e n s y of 98.93%, whereas the LR, NN, DCNN, LSTM, and F-DCNN models attained low s e n s y values of 93.19%, 96.23%, 96.63%, 97.91%, and 98.65%, respectively. Eventually, with 80% TR data, the AAC-FFAHD system yielded a maximum s e n s y of 98.98%, whereas the LR, NN, DCNN, LSTM, and F-DCNN approaches reached the minimal s e n s y values of 93.19%, 96.33%, 96.59%, 97.96%, and 98.61%, respectively.
Table 3 and Figure 5 portray the comparative s p e c y analysis results achieved by the proposed AAC-FFAHD algorithm and other techniques. The simulation values demonstrate that the AAC-FFAHD system reached the optimum results with varying TR values. With 40% TR data, the AAC-FFAHD technique obtained a superior s p e c y of 98.43% whereas the LR, NN, DCNN, LSTM, and F-DCNN systems gained low s p e c y values of 93.26%, 95.71%, 96.32%, 96.80%, and 97.69%, respectively. Additionally, with 50% TR data, the AAC-FFAHD system obtained an improved s p e c y of 98.93%, whereas the LR, NN, DCNN, LSTM, and F-DCNN approaches reached the minimal s p e c y values of 93.33%, 95.82%, 96.72%, 97.22%, and 98.48%, respectively. Next, with 80% TR data, the AAC-FFAHD method achieved an enhanced s p e c y of 98.98%, whereas the LR, NN, DCNN, LSTM, and F-DCNN approaches accomplished low s p e c y values of 93.88%, 96.26%, 96.70%, 98.28%, and 98.65%, respectively.
Table 4 and Figure 6 show the comparative analytical outcomes of the AAC-FFAHD system and other algorithms in terms of Computation Time (CT). The simulation values imply that the AAC-FFAHD method took the least CT of 0.33s. At the same time, the LR, NN, DCNN, LSTM, and flamingo-based Deep CNN models presented long CT values of 2.64 s, 3.09 s, 2.80 s, 4.38 s, and 1.08 s, respectively. Thus, it can be inferred that the AAC-FFAHD technique can be employed for accurate and automated classification.
Figure 7 demonstrates the training accuracy T R _ a c c u y and V L _ a c c u y values of the AAC-FFAHD methodology. The T L _ a c c u y is measured by evaluating the AAC-FFAHD technique on the TR dataset, whereas the V L _ a c c u y is computed by estimating the solution using a separate testing dataset. The outcomes depict that both T R _ a c c u y and V L _ a c c u y increase with an increase in the number of epochs. Accordingly, the performance of the AAC-FFAHD method was superior on the TR and TS datasets with an increase in the count of epochs.
In Figure 8, the T R _ l o s s and V R _ l o s s curves of the AAC-FFAHD algorithm are shown. The T R _ l o s s demonstrates the error between the predictive outcome and original values of the TR data. The V R _ l o s s signifies the performance of the AAC-FFAHD technique on individual validation data. The outcomes show that the T R _ l o s s and V R _ l o s s values decrease with an increasing number of epochs. This outcome depicts the enhanced performance of the AAC-FFAHD technique and its ability to make accurate classifications. The low T R _ l o s s and V R _ l o s s values demonstrate the supreme performance of the AAC-FFAHD technique in terms of capturing the patterns and relationships.
A comprehensive Precision–Recall (PR) examination was conducted upon the AAC-FFAHD approach using the test database, and the results are shown in Figure 9. The simulation values infer the superior performance of the AAC-FFAHD algorithm in enhancing the PR values. Thus, it is clear that the AAC-FFAHD approach can attain superior PR values in two class labels.
In Figure 10, an ROC investigation curve of the AAC-FFAHD algorithm using the test database is demonstrated. The simulation value depicts that the AAC-FFAHD methodology achieved higher ROC values. Moreover, it is apparent that the AAC-FFAHD method achieved high ROC values in two classes.
In order to further validate the performance of the proposed model, a detailed analysis was conducted on CU: The Creighton University Sustained Ventricular Arrhythmia Database [25]. Table 5 and Figure 11 offer the comparative analysis outcomes achieved by the proposed model and other recent approaches on the CU dataset. The figure indicates that the RF, SVM, and CNN models obtained the worst performance over other models. At the same time, the DT, LSTM, and LR models attained slightly improved results. However, the AAC-FFAHD model accomplished superior performance with a maximum a c c u y of 98.76%, s e n s y of 98.50%, and s p e c y of 97.90%. Therefore, the AAC-FFAHD technique can be applied for automated and accurate classification of arrhythmia.
In summary, the simulation outcomes of the AAC-FFAHD technique demonstrate accurate and automated classification of arrhythmia. The enhanced performance of the AAC-FFAHD model is due to the incorporation of the HDL technique and FFA-optimizer-based hyperparameter tuning. The FFA chooses the optimal values for the hyperparameters of a given HDL model. Hyperparameters are settings that are not learned during the training process and must be set prior to training. This scenario has a significant impact on the performance of the model. Further, the selection of optimal values can lead to better accuracy. By leveraging the FFA-based hyperparameter tuning process, the AAC-FFAHD model achieved better results by focusing on the most relevant features and selecting the optimal settings for the algorithm. These results establish the improved performance of the AAC-FFAHD technique over other existing techniques.

5. Conclusions

In the current study, a novel AAC-FFAHDL methodology is presented for automated arrhythmia classification in the IoT environment. The presented AAC-FFAHDL approach exploits the hyperparameter-tuned DL model for ECG signal analysis, thereby detecting arrhythmia. To accomplish this, the AAC-FFAHDL approach follows a procedure containing three steps: data pre-processing, HDL-based classification, and FFA-based hyperparameter tuning. In order to enhance the classification and detection performance of the HDL approach, the AAC-FFAHDL technique involves the FFA-based hyperparameter tuning process. The AAC-FFAHDL system was experimentally validated through simulation using the benchmark ECG database. The comparative experimental analysis outcomes confirm that the AAC-FFAHDL method accomplished more promising performance than the rest of the models in terms of various evaluation measures. In the future, the performance of the AAC-FFAHDL technique can be enhanced by FS methods. Since healthcare data are sensitive, it is essential to have robust data privacy and security measures within the IoT platform. Future works should focus on addressing these concerns and complying with relevant regulations. Moreover, adaptive learning techniques can be designed that allow the model to learn and adapt over time as it encounters new data and the scenarios can further improve its performance and reliability. Enhancing the interpretability of the model’s predictions is crucial, especially in healthcare applications. So, future work must focus on developing novel methods to explain the model’s decisions, providing clinicians with insights about the classification process of a particular arrhythmia.

Author Contributions

Conceptualization, A.S.A. and H.A.M.; methodology, H.A.M.; software, M.M.E.; validation, N.S.A., H.A.M. and M.M.A.; formal analysis, N.S.A.; investigation, A.S.A.; resources, A.S.S.; data curation, M.M.E.; writing—original draft preparation, A.S.A., M.M.A. and M.M.E.; writing—review and editing, N.S.A. and A.S.S.; visualization, N.S.A.; supervision, A.S.A.; project administration, H.A.M.; funding acquisition, H.A.M., M.M.E. and N.S.A. All authors have read and agreed to the published version of the manuscript.

Funding

The authors extend their appreciation to the Deanship of Scientific Research at King Khalid University for funding this work through large group Research Project under grant number (RGP2/29/44). Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2023R114), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia. Research Supporting Project number (RSPD2023R521), King Saud University, Riyadh, Saudi Arabia. This study is partially funded by the Future University in Egypt (FUE).

Institutional Review Board Statement

Not Applicable.

Informed Consent Statement

Not Applicable.

Data Availability Statement

Data sharing is not applicable to this article as no datasets were generated during the current study.

Conflicts of Interest

The authors declare that they have no conflict of interest. The manuscript was written through contributions of all authors. All authors have given approval to the final version of the manuscript.

References

  1. Kumar, A.; Kumar, S.A.; Dutt, V.; Shitharth, S.; Tripathi, E. IoT based arrhythmia classification using the enhanced hunt optimization-based deep learning. Expert Syst. 2023, 40, e13298. [Google Scholar] [CrossRef]
  2. Kodati, S.; Reddy, K.P.; Ravi, G.; Sreekanth, N. IoT-based System for Health Monitoring of Arrhythmia Patients Using Machine Learning Classification Techniques. In Proceedings of the International Conference on Soft Computing and Signal Processing, Hyderabad, India, 22–24 June 2021; pp. 283–293. [Google Scholar]
  3. Bechinia, H.; Benmerzoug, D. A deep learning approach for arrhythmia detection and classification based on IoT wearable technology. In Proceedings of the 2022 First International Conference on Big Data, IoT, Web Intelligence and Applications (BIWA), Sidi Bel Abbes, Algeria, 11–12 December 2022; pp. 7–12. [Google Scholar]
  4. KA, A.N.; Jeena, R.S.; Niyas, P. Deep Neural Network Based Real Time Multi-Class Arrhythmia Classification in IoT-Cloud Platform. 2021. Available online: https://assets.researchsquare.com/files/rs-603991/v1_covered.pdf?c=1631869570 (accessed on 12 September 2023).
  5. Alnaggar, M.; Handosa, M.; Medhat, T.; Rashad, M.Z. An IoT-based Framework for Detecting Heart Conditions using Machine Learning. Int. J. Adv. Comput. Sci. Appl. 2023, 14. [Google Scholar] [CrossRef]
  6. Yathish, D.P. Early Detection of Cardiac Arrhythmia Disease using Machine Learning and IoT Technologies. In Proceedings of the 2021 2nd International Conference on Smart Electronics and Communication (ICOSEC), Trichy, India, 7–9 October 2021; pp. 1658–1661. [Google Scholar]
  7. Varghese, A.; Muraleedharan Sylaja, M.; Kurian, J. Conception and realization of an IoT-enabled deep CNN decision support system for automated arrhythmia classification. J. Intell. Syst. 2022, 31, 407–419. [Google Scholar] [CrossRef]
  8. Sakib, S.; Fouda, M.M.; Fadlullah, Z.M. A rigorous analysis of biomedical edge computing: An arrhythmia classification use-case leveraging deep learning. In Proceedings of the 2020 IEEE International Conference on Internet of Things and Intelligence System (IoTaIS), Bali, Indonesia, 27–28 January 2021; pp. 136–141. [Google Scholar]
  9. Rath, A.; Mishra, D.; Panda, G.; Satapathy, S.C.; Xia, K. Improved heart disease detection from ECG signal using deep learning based ensemble model. Sustain. Comput. Inform. Syst. 2022, 35, 100732. [Google Scholar] [CrossRef]
  10. Kumar, A.; Kumar, M.; Mahapatra, R.P.; Bhattacharya, P.; Le, T.T.H.; Verma, S.; Kavita; Mohiuddin, K. Flamingo-Optimization-Based Deep Convolutional Neural Network for IoT-Based Arrhythmia Classification. Sensors 2023, 23, 4353. [Google Scholar] [CrossRef] [PubMed]
  11. Kumar, A.; Kumar, S.; Dutt, V.; Dubey, A.K.; García-Díaz, V. IoT-based ECG monitoring for arrhythmia classification using Coyote Grey Wolf optimization-based deep learning CNN classifier. Biomed. Signal Process. Control 2022, 76, 103638. [Google Scholar] [CrossRef]
  12. Jagadeesh, S.; Shrimali, M.; Prasad, P.S.; Maheswari, K.; Narendrakumar, A.; Reddy, K. Automated Arrhythmia Classification using Harris Hawks Optimization with Deep Learning Model on IoT Environment. In Proceedings of the 2023 Third International Conference on Artificial Intelligence and Smart Energy (ICAIS), Coimbatore, India, 2–4 February 2023; pp. 30–35. [Google Scholar]
  13. Karthiga, S.; Abirami, A.M. Deep Learning Convolutional Neural Network for ECG Signal Classification Aggregated Using IoT. Comput. Syst. Sci. Eng. 2022, 42. [Google Scholar] [CrossRef]
  14. Panda, R.; Jain, S.; Tripathy, R.K.; Acharya, U.R. Detection of shockable ventricular cardiac arrhythmias from ECG signals using FFREWT filter-bank and deep convolutional neural network. Comput. Biol. Med. 2020, 124, 103939. [Google Scholar] [CrossRef] [PubMed]
  15. Kumar, S.S.; Rinku, D.R.; Kumar, A.P.; Maddula, R. An IOT framework for detecting cardiac arrhythmias in real-time using deep learning resnet model. Meas. Sens. 2023, 29, 100866. [Google Scholar] [CrossRef]
  16. Cañón-Clavijo, R.E.; Montenegro-Marin, C.E.; Gaona-Garcia, P.A.; Ortiz-Guzmán, J. IoT Based System for Heart Monitoring and Arrhythmia Detection Using Machine Learning. J. Healthc. Eng. 2023, 2023, 6401673. [Google Scholar] [CrossRef] [PubMed]
  17. Hemalatha, M. Optimal AdaBoost kernel support vector machine for monitoring arrhythmia patients utilizing Internet of Things-cloud environment. Concurr. Comput. Pract. Exp. 2022, 34, e7298. [Google Scholar] [CrossRef]
  18. Prajitha, C.; Sridhar, K.P.; Baskar, S. ECG diagnosis for arrhythmia detection with a cloud-based service and a wearable sensor network in a smart city environment. Front. Sustain. Cities 2022, 4, 1073486. [Google Scholar] [CrossRef]
  19. Cheikhrouhou, O.; Mahmud, R.; Zouari, R.; Ibrahim, M.; Zaguia, A.; Gia, T.N. One-dimensional CNN approach for ECG arrhythmia analysis in fog-cloud environments. IEEE Access 2021, 9, 103513–103523. [Google Scholar] [CrossRef]
  20. Lu, W.; Jiang, J.; Ma, L.; Chen, H.; Wu, H.; Gong, M.; Jiang, X.; Fan, M. An arrhythmia classification algorithm using C-LSTM in physiological parameters monitoring system under internet of health things environment. J. Ambient Intell. Humaniz. Comput. 2021, 1–11. [Google Scholar] [CrossRef]
  21. Zhang, P.; Hang, Y.; Ye, X.; Guan, P.; Jiang, J.; Tan, J.; Hu, W. A United CNN-LSTM algorithm combining RR wave signals to detect arrhythmia in the 5G-enabled medical internet of things. IEEE Internet Things J. 2021, 9, 14563–14571. [Google Scholar] [CrossRef]
  22. Yadav, S.; Kadam, V.; Jadhav, S. Machine learning algorithms for the diagnosis of cardiac arrhythmia in IoT environment. In Proceedings of the International Conference on Recent Trends in Image Processing and Pattern Recognition, Aurangabad, India, 3–4 January 2020; Springer: Singapore; pp. 95–107. [Google Scholar]
  23. Henry, A.; Gautam, S.; Khanna, S.; Rabie, K.; Shongwe, T.; Bhattacharya, P.; Sharma, B.; Chowdhury, S. Composition of hybrid deep learning model and feature optimization for intrusion detection system. Sensors 2023, 23, 890. [Google Scholar] [CrossRef] [PubMed]
  24. Gharehchopogh, F.S.; Nadimi-Shahraki, M.H.; Barshandeh, S.; Abdollahzadeh, B.; Zamani, H. Cqffa: A chaotic quasi-oppositional farmland fertility algorithm for solving engineering optimization problems. J. Bionic Eng. 2023, 20, 158–183. [Google Scholar] [CrossRef]
  25. Goldberger, A.L.; Amaral, L.A.N.; Glass, L.; Hausdorff, J.M.; Ivanov, P.C.; Mark, R.G.; Mietus, J.E.; Moody, G.B.; Peng, C.-K.; Stanley, H.E. Physiobank, physiotoolkit, and physionet: Components of a new research resource for complex physiologic signals. Circulation 2000, 101, 215–220. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Overall procedure of the AAC-FFAHDL methodology.
Figure 1. Overall procedure of the AAC-FFAHDL methodology.
Sensors 23 08265 g001
Figure 2. CNN-GRU structure.
Figure 2. CNN-GRU structure.
Sensors 23 08265 g002
Figure 3. A c c u y outcomes of the AAC-FFAHD system on varying TR values.
Figure 3. A c c u y outcomes of the AAC-FFAHD system on varying TR values.
Sensors 23 08265 g003
Figure 4. S e n s y outcomes of the AAC-FFAHD system on varying TR values.
Figure 4. S e n s y outcomes of the AAC-FFAHD system on varying TR values.
Sensors 23 08265 g004
Figure 5. S p e c y outcomes of the AAC-FFAHD system on varying TR values.
Figure 5. S p e c y outcomes of the AAC-FFAHD system on varying TR values.
Sensors 23 08265 g005
Figure 6. CT outcomes of the AAC-FFAHD system and other methods.
Figure 6. CT outcomes of the AAC-FFAHD system and other methods.
Sensors 23 08265 g006
Figure 7. A c c u y curve of the AAC-FFAHD system.
Figure 7. A c c u y curve of the AAC-FFAHD system.
Sensors 23 08265 g007
Figure 8. Loss curve of the AAC-FFAHD system.
Figure 8. Loss curve of the AAC-FFAHD system.
Sensors 23 08265 g008
Figure 9. PR curve of the AAC-FFAHD system.
Figure 9. PR curve of the AAC-FFAHD system.
Sensors 23 08265 g009
Figure 10. ROC curve of the AAC-FFAHD system.
Figure 10. ROC curve of the AAC-FFAHD system.
Sensors 23 08265 g010
Figure 11. Comparative results of the AAC-FFAHD technique and other techniques on the CU dataset.
Figure 11. Comparative results of the AAC-FFAHD technique and other techniques on the CU dataset.
Sensors 23 08265 g011
Table 1. A c c u y outcomes of the AAC-FFAHD system and other methods [11] on varying TR values.
Table 1. A c c u y outcomes of the AAC-FFAHD system and other methods [11] on varying TR values.
Accuracy (%)
Training Percentage (%)Logistic RegressionNN ModelDCNN ModelLSTM ModelFlamingo-Based Deep CNNAAC-FFAHD
4093.3095.9896.4697.3798.2098.63
5093.4295.9596.6197.5798.6298.96
6093.4896.1596.6197.5998.6598.98
7093.5296.2596.6097.9998.7398.95
8093.6896.3896.7098.1298.7398.98
Table 2. S e n s y outcomes of the AAC-FFAHD system and other methods on varying TR values.
Table 2. S e n s y outcomes of the AAC-FFAHD system and other methods on varying TR values.
Sensitivity (%)
Training Percentage (%)Logistic RegressionNN ModelDCNN ModelLSTM ModelFlamingo-Based Deep CNNAAC-FFAHD
4093.2796.2696.5897.9098.6598.95
5093.1996.2396.6397.9198.6598.93
6093.2996.1896.6397.9398.6398.96
7093.2796.3696.6197.9598.6398.90
8093.1996.3396.5997.9698.6198.98
Table 3. S p e c y outcomes of the AAC-FFAHD system and other methods on varying TR values.
Table 3. S p e c y outcomes of the AAC-FFAHD system and other methods on varying TR values.
Specificity (%)
Training Percentage (%)Logistic RegressionNN ModelDCNN ModelLSTM ModelFlamingo-Based Deep CNNAAC-FFAHD
4093.2695.7196.3296.8097.6998.43
5093.3395.8296.7297.2298.4898.93
6093.5396.1196.6797.2598.5398.97
7093.6696.1296.8298.1398.6398.98
8093.8896.2696.7098.2898.6598.98
Table 4. CT outcomes of the AAC-FFAHD technique and other methodologies.
Table 4. CT outcomes of the AAC-FFAHD technique and other methodologies.
MethodsComputational Time (sec)
Logistic Regression2.64
NN Model3.09
DCNN Model2.80
LSTM Model4.38
Flamingo-Based Deep CNN1.08
AAC-FFAHD0.33
Table 5. Comparative results of the AAC-FFAHD technique and other models on the CU dataset.
Table 5. Comparative results of the AAC-FFAHD technique and other models on the CU dataset.
MethodAccuracySensitivitySpecificity
SVM Model95.4693.8795.56
CNN Algorithm92.5098.0993.13
Decision Tree97.1994.8395.78
Random Forest95.4697.9994.27
LSTM Model97.9994.4094.60
Logistic Regression97.0397.8397.17
AAC-FFAHD98.7698.5097.90
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Almasoud, A.S.; Mengash, H.A.; Eltahir, M.M.; Almalki, N.S.; Alnfiai, M.M.; Salama, A.S. Automated Arrhythmia Classification Using Farmland Fertility Algorithm with Hybrid Deep Learning Model on Internet of Things Environment. Sensors 2023, 23, 8265. https://doi.org/10.3390/s23198265

AMA Style

Almasoud AS, Mengash HA, Eltahir MM, Almalki NS, Alnfiai MM, Salama AS. Automated Arrhythmia Classification Using Farmland Fertility Algorithm with Hybrid Deep Learning Model on Internet of Things Environment. Sensors. 2023; 23(19):8265. https://doi.org/10.3390/s23198265

Chicago/Turabian Style

Almasoud, Ahmed S., Hanan Abdullah Mengash, Majdy M. Eltahir, Nabil Sharaf Almalki, Mrim M. Alnfiai, and Ahmed S. Salama. 2023. "Automated Arrhythmia Classification Using Farmland Fertility Algorithm with Hybrid Deep Learning Model on Internet of Things Environment" Sensors 23, no. 19: 8265. https://doi.org/10.3390/s23198265

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