<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="brief-report" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Artif. Intell.</journal-id>
<journal-title>Frontiers in Artificial Intelligence</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Artif. Intell.</abbrev-journal-title>
<issn pub-type="epub">2624-8212</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/frai.2024.1354742</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Artificial Intelligence</subject>
<subj-group>
<subject>Brief Research Report</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>HAWKFOG-an enhanced deep learning framework for the Fog-IoT environment</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Abirami</surname> <given-names>R.</given-names></name>
<uri xlink:href="https://loop.frontiersin.org/people/2430652/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>E</surname> <given-names>Poovammal</given-names></name>
<xref ref-type="corresp" rid="c001"><sup>&#x002A;</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/1846877/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
</contrib-group>
<aff><institution>Department of Computing Technologies, SRM Institute of Science and Technology</institution>, <addr-line>Kattankulathur, Chennai</addr-line>, <country>India</country></aff>
<author-notes>
<fn fn-type="edited-by" id="fn0001">
<p>Edited by: Peter Kokol, University of Maribor, Slovenia</p>
</fn>
<fn fn-type="edited-by" id="fn0002">
<p>Reviewed by: Parvathaneni Naga Srinivasu, Prasad V. Potluri Siddhartha Institute of Technology, India</p>
<p>Amir Faisal, Sumatra Institute of Technology, Indonesia</p>
<p>Miodrag Zivkovic, Singidunum University, Serbia</p>
</fn>
<corresp id="c001">&#x002A;Correspondence: Poovammal E, <email>poovamme@srmist.edu.in</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>28</day>
<month>06</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>7</volume>
<elocation-id>1354742</elocation-id>
<history>
<date date-type="received">
<day>12</day>
<month>12</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>09</day>
<month>05</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x00A9; 2024 Abirami and E.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Abirami and E</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Cardiac disease is considered as the one of the deadliest diseases that constantly increases the globe&#x2019;s mortality rate. Since a lot of expertise is required for an accurate prediction of heart disease, designing an intelligent predictive system for cardiac diseases remains to be complex and tricky. Internet of Things based health regulation systems are a relatively recent technology. In addition, novel Edge and Fog device concepts are presented to advance prediction results. However, the main problem with the current systems is that they are unable to meet the demands of effective diagnosis systems due to their poor prediction capabilities. To overcome this problem, this research proposes a novel framework called HAWKFOGS which innovatively integrates the deep learning for a practical diagnosis of cardiac problems using edge and fog computing devices. The current datasets were gathered from different subjects using IoT devices interfaced with the electrocardiography and blood pressure sensors. The data are then predicted as normal and abnormal using the Logistic Chaos based Harris Hawk Optimized Enhanced Gated Recurrent Neural Networks. The ablation experiments are carried out using IoT nodes interfaced with medical sensors and fog gateways based on Embedded Jetson Nano devices. The suggested algorithm&#x2019;s performance is measured. Additionally, Model Building Time is computed to validate the suggested model&#x2019;s response. Compared to the other algorithms, the suggested model yielded the best results in terms of accuracy (99.7%), precision (99.65%), recall (99.7%), specificity (99.7%). F1-score (99.69%) and used the least amount of Model Building Time (1.16&#x2009;s) to predict cardiac diseases.</p>
</abstract>
<kwd-group>
<kwd>cardiac diseases</kwd>
<kwd>internet of things</kwd>
<kwd>Harris hawk optimization</kwd>
<kwd>fog/edge computing</kwd>
<kwd>self attention mechanism</kwd>
</kwd-group>
<counts>
<fig-count count="15"/>
<table-count count="11"/>
<equation-count count="28"/>
<ref-count count="43"/>
<page-count count="19"/>
<word-count count="10282"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Machine Learning and Artificial Intelligence</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="sec1">
<label>1</label>
<title>Introduction</title>
<p>In accordance with the World Health Organization (WHO) 2020 study, an estimation of 17.9 million individuals die from cardiac disease every year, making it the primary cause of mortality in the world. According to the Global Burden of Disease (GBD) research the death rate from cardiac illness is 272 per 100,000 persons throughout all of India, along with the poorer regions and rural areas, which is significantly greater than the global mean of 235 (<xref ref-type="bibr" rid="ref13">Gill et al., 2018</xref>). The number of death rate due to cardiac disease is increasing exponentially day by day. Early-stage detection of Cardiac Disease and receiving appropriate treatment for preventing premature deaths is an important way of reducing this toll. So, diagnosis of cardiac disease requires being more accurate, precise, and reliable approach. Since a lot of expertise is required for an accurate, precise and reliable prediction of cardiac disease, designing an intelligent predictive system for cardiac diseases remains to be complex and tricky. Newer technologies such as &#x201C;fog computing, Internet of Things (IoT), and edge computing&#x201D; have experienced substantial growth because they can offer a range of reaction qualities depending on the applications for which they are intended (<xref ref-type="bibr" rid="ref17">He et al., 2017</xref>). A wide range of algorithms can be used with IoT- based health monitoring systems, a relatively new technology that enables precise disease classification from sensor data. In addition, novel Edge and Fog computing concepts are presented to advance prediction performances. In recent year, IoT together with Edge and data may be quickly and effectively analyzed in real-time with fog computing. Because of these technologies, applications that require low latency are realistic can benefit the most from fog computing in regards to portability, privacy, secure, low latency, as well as network bandwidth (<xref ref-type="bibr" rid="ref1">Abdullahi et al., 2015</xref>; <xref ref-type="bibr" rid="ref37">Satyanarayanan, 2017</xref>; <xref ref-type="bibr" rid="ref14">Gill et al., 2019</xref>; <xref ref-type="bibr" rid="ref15">Goyal et al., 2019</xref>; <xref ref-type="bibr" rid="ref27">Mutlag et al., 2019</xref>).</p>
<p>One of the key areas of application that needs accurate and reliable results is the detection of heart disease, and fog computing has been applied in this area to portray the process in a brighter light. Resources are provided nearer to users through fog computing, which reduces latency and lengthens the lifespan of patients. But getting the outcome is not enough as with such complex data as we cannot sacrifice the diagnosis accuracy. Deep learning algorithms have grown rapidly in recent times across a different kind of industries, including healthcare, industrial automation, even processing natural language. Recent models using deep learning for health care data applications, however, are extremely complex and demand a significant computing resource for both training and prediction (<xref ref-type="bibr" rid="ref23">Lim et al., 2000</xref>). These intricate neural networks require a lot of training time before they can be used for data analysis. The more complex the network, the greater the forecast time, and the higher the accuracy needed (<xref ref-type="bibr" rid="ref10">Datta and Sharma, 2017</xref>). This has been a significant issue regarding IoT applications in the healthcare industry and other fields where real-time data are essential. Given that computing on the edge or in the fog has the significant benefit of speeding up response times, this opens up a new line of inquiry into the integration of resource-conscious, complicated deep learning models.</p>
<p>To provide high detection performance, low latency, low resource utilization, and health care to individuals with heart issues and other users requiring real-time performance, an integrated Fog/Edge based model has to be implemented. For the Fog devices to meet the aforementioned requirements, several deep learning algorithms (<xref ref-type="bibr" rid="ref2">Acharya et al., 2017</xref>; <xref ref-type="bibr" rid="ref3">Ali and Ghazal, 2017</xref>; <xref ref-type="bibr" rid="ref6">Azimi et al., 2018</xref>; <xref ref-type="bibr" rid="ref9">Buch et al., 2018</xref>; <xref ref-type="bibr" rid="ref30">Panch et al., 2019</xref>; <xref ref-type="bibr" rid="ref20">Juarez-Orozco et al., 2020</xref>) are developed and tested. Yet not every deep learning framework on the market is suitable for a deployment that delivers high accuracy and quick response times. This study was motivated by the lack of existing frameworks that meet the aforementioned requirements. Recently, integration of meta-heuristic algorithms over the deep learning models has gained the better light of research to obtain the stable network that can aid for better diagnosis and clinical treatments. These algorithms also plays a pivotal role in selecting and tuning the hyperparameters that steers the DL models. In spite of several meta-heuristic algorithms, achieving the stable networks configurable for IoT-Edge networks still remains to be real challenge.</p>
<p>In this study, an intelligent healthcare system based on fog for the monitoring of cardiac heart disease is Hawk Fogs using the novel attention gated recurrent neural networks integrated with the logistic chaos based Harris hawk tuned feed forward learning networks. Hawk Fogs provides cardiac disease monitoring and detection using the novel learning networks which are deployed in the Fog/Edge Devices. To the best of our knowledge, this is the first instance of optimised learning models being implemented in fog devices without compromising performance or efficiency. The primary contribution of the paper is as follows:</p>
<list list-type="order">
<list-item>
<p>Developed the Low Complexity Attention Gated Recurrent Units integrated with the Feed Forward learning Networks for a suitable deployment in Fog devices.</p>
</list-item>
<list-item>
<p>Proposed the novel Chaos based Harris Hawk Optimization to tune the Hyper parameters of the feed forward learning networks for consuming the lesser model building time in which reduces the latency in predicting the heart diseases.</p>
</list-item>
<list-item>
<p>Generated the Experimental test beds for the real time data collection systems using IoT sensors boards and Fog devices using the Embedded Jetson Nano boards.</p>
</list-item>
<list-item>
<p>Demonstrated and evaluated the suggested model&#x2019;s functionality on built-in test beds. The suggested model suppresses the other models, and the deep learning model&#x2019;s performance has been compared with that of other advanced deep learning models.</p>
</list-item>
</list>
<p>The essay is organized as follows for the remaining sections: The background information on various works by multiple authors is reviewed in Section 2. The suggested hybrid deep learning model is presented in Section 3 together with the data collection unit and pre-processed data. The experimental setup and dataset details for the suggested model are presented in Section 4. The performance evaluation, ablation study, model building time analysis, experimental outcome analysis, and statistical outcome validation method are presented in Section 5 after Section 4. Section 6 concludes the analysis by outlining its future scope.</p>
</sec>
<sec id="sec2">
<label>2</label>
<title>Background works</title>
<p><xref ref-type="bibr" rid="ref19">Jenifer et al. (2022)</xref> proposal seeks to use the Internet of Things to create an edge-based heart illness predicting device. An accelerometer, temperature, and pulse rate sensor were all linked to a Raspberry Pi, which was used to create the prototype. In order to interpret the patient&#x2019;s condition, a trained machine learning algorithm is employed to evaluate the measured value. Also, the system was put to the test in a variety of situations, and it performed 88% accurately. This framework offers the benefit of a high learning rate. Unfortunately, it is unsuitable for a real-time situation (<xref ref-type="bibr" rid="ref19">Jenifer et al., 2022</xref>).</p>
<p>In an effort to create a smart healthcare paradigm, <xref ref-type="bibr" rid="ref33">Raju et al. (2022)</xref> used edge fog and cloud computing. This model relied on an array of pieces of hardware to collect its information. Amplitude, overall harmonic distortion, standard deviation, zero crossing rate, pulse rate, entropy, and energy were all calculated in order to extract the cardiac characteristics. Using the Cascaded Convolutional Neural Network (CCNN) and the Galactic Swarm Optimization (GSO) method to optimize certain CNN metrics, all these characteristics were included to the diagnostic system. Accuracy, specificity, sensitivity, precision, and F1-score performance are all improved by this approach. Although it may be utilized in a real-time setting, it does not increase forecast accuracy (<xref ref-type="bibr" rid="ref33">Raju et al., 2022</xref>).</p>
<p>Edge computing and IoT concepts were used by <xref ref-type="bibr" rid="ref16">Gupta et al. (2023)</xref> to create a CNN-based prediction model. A distributed environment architecture called edge computing allows regional edge servers that have been estimated at the endpoint of IoT devices, it enables speedy resource availability and reaction times. The health data that IoT devices collect is analyzed using the CNN model. The purpose of edge devices is also to deliver timely health forecast reports to patients and physicians via edge servers. Performance metrics for accuracy and error rate analysis of the suggested mechanism are available. A superior accuracy of 99.23% was attained by this framework. Nonetheless, this framework&#x2019;s greater energy usage has been noted as a disadvantage (<xref ref-type="bibr" rid="ref16">Gupta et al., 2023</xref>).</p>
<p>A Deep Learning Modified Neural Network (DLMNN)-based framework for diagnosing cardiac disease was created by <xref ref-type="bibr" rid="ref35">Sarmah (2020)</xref>. To start, the correct hospital is authenticated using SHA-512. Despite being linked to the sick person&#x2019;s body, the wearable IoT sensor device simultaneously transmits sensor information to the cloud. Before any sensor data is sent to the cloud, it is first safely encrypted using the AES algorithm. The DLMNN classifier is used to finish the classification after the encrypted data has been decrypted. This framework&#x2019;s key benefit is its high level of security, but a significant disadvantage is that optimization techniques, which demand additional training time, are not included (<xref ref-type="bibr" rid="ref35">Sarmah, 2020</xref>).</p>
<p>The Cascaded Long Short Term Memory (CSO-CLSTM) framework for illness diagnostics was introduced by <xref ref-type="bibr" rid="ref25">Mansour et al. (2021)</xref>. CSO is employed for fine-tune both the &#x201C;weights&#x201D; and to improve the medical data&#x2019;s categorization, &#x201C;bias&#x201D; factors of the CLSTM model were used. In this research, the outliers are also removed using the isolation Forest (iForest) approach. The results of the diagnostic tests using the CLSTM model are significantly improved by the application of CSO. During testing, the CSO-LSTM model given was able to diagnose diabetes and heart disease with maximum accuracy of 97.26 and 96.16%, respectively. Nevertheless, it does not take security concerns into account and uses less energy (<xref ref-type="bibr" rid="ref25">Mansour et al., 2021</xref>).</p>
<p>To improve cardiac arrhythmia analysis and acute stroke prediction&#x2019;s precision and speed, <xref ref-type="bibr" rid="ref22">Lavanya et al. (2023)</xref> introduced an edge computing technique. To identify cardiac arrhythmia and anticipate acute stroke, a CNN model based on deep learning is created. The deep learning model is trained using real-time data from the MIT-BIH as well as physiological data and heart rate characteristics. More accurately than many other feature extraction and classification techniques now in use are the DWT based feature extraction as well as deep CNN based multiclass classification. This classifier achieves 99.4% sensitivity, 99.1% specificity, and 99.3% accuracy. Yet this framework&#x2019;s primary flaw is its lack of compatibility (<xref ref-type="bibr" rid="ref22">Lavanya et al., 2023</xref>).</p>
<p>By using machine-learning techniques like fuzzy c-means neural networks (FNN) and a deep convolution NN, <xref ref-type="bibr" rid="ref41">Venkatesan et al. (2022)</xref> hope to recognize the crucial cardiac complaint prediction features (DCNN). The prediction accuracy for heart disease is improved by this framework. The clinical dataset included data on BP, age, sex, difficulty breathing, cholesterol, blood sugar, and some other parameters for the prediction of cardiac disease. Classifying the sensor data that FNN has received allows for the identification of the heart&#x2019;s status. The suggested method achieves an F1-score of 97%, an accuracy rate of 86.4%, and a precision of 76.2%. The performance assessment of this study, however, does not take into account crucial QoS metrics like power use, latency, etc. (<xref ref-type="bibr" rid="ref41">Venkatesan et al., 2022</xref>).</p>
<p>In order to gather and analyze electrocardiogram (ECG) information from patients in order to quickly identify irregularities or heart attacks so that the proper therapies may be given, <xref ref-type="bibr" rid="ref26">Minh et al. (2022)</xref> presented a fog-based IoT strategy in 2023. Using data mining techniques, this framework may extract pertinent information for the detection of cardiac illness at the network edge while maintaining the ECG data&#x2019;s consistency by reducing noise. The framework not only ensures the data&#x2019;s integrity but also improves the precision of real-time detection, as shown by practical studies. The processing of a patient request, however, is delayed significantly because to the time it takes for communication between nodes (<xref ref-type="bibr" rid="ref26">Minh et al., 2022</xref>).</p>
<p><xref ref-type="bibr" rid="ref42">Verma et al. (2022)</xref> developed a Fog Enabled Technology for Clinical Healthcare System (FETCH), which incorporates edge computing devices with deep learning technology and automated monitoring to function on real-world healthcare systems, including those for heart disease and more. Fog Bus, which exhibits utility in regards to power use, internet bandwidth, jitter, latency, process completion time, and their correctness as well, is used by the recommended fog-enabled cloud computing architecture. Its computational efficiency is much increased, and the performance is optimised primarily for testing accuracy. High connection challenges that occur during data transfer are another key flaw with this architecture (<xref ref-type="bibr" rid="ref42">Verma et al., 2022</xref>).</p>
<p>The system with smart healthcare for heart disease risk prediction described by <xref ref-type="bibr" rid="ref29">Nancy et al. (2022)</xref> uses the fuzzy inference system and the bidirectional LSTM of the recurrent NN for the predictive task. Accuracy, precision, sensitivity, specificity, and F1-score of the suggested system are 98.85, 98.9, 98.8, 98.89, and 98.85%, respectively. For data collection, this intelligent system for predicting heart illness uses IoT devices, while the cloud is used for other crucial activities. Less time was needed for training using this framework, however it does not operate in a real-time setting (<xref ref-type="bibr" rid="ref29">Nancy et al., 2022</xref>).</p>
<p>A reference layered communication framework was provided by <xref ref-type="bibr" rid="ref39">Srinivasu et al. (2022)</xref> for the nodes and devices in real-time communication. The labor-intensive services are deliberated in this framework. The future of healthcare is presented by the feature-perspective elements of 6G technology, which allow for efficient treatment and sophisticated service integration. However, crowded network configurations also give rise to connectivity problems (<xref ref-type="bibr" rid="ref39">Srinivasu et al., 2022</xref>).</p>
<p>Harris Hawk Optimizer (HHO), a recently developed robust optimizer, was the subject of <xref ref-type="bibr" rid="ref18">Hussien et al. (2022)</xref> study. They concentrated on its applications and advancements. In regards to the new variations of the HHO algorithm and its many applications, the literature review study offers in-depth insight about potential future approaches and ideas worth investigating. However, it is not the purpose of this framework to create more real-time frameworks (<xref ref-type="bibr" rid="ref18">Hussien et al., 2022</xref>).</p>
<p><xref ref-type="bibr" rid="ref28">Muttaqin et al. (2023)</xref> proposed the improved version of whale optimization algorithm by integrating the chaotic maps to tune the hyper parameters of Support vector machines (SVM) to achieve the better performance in the classification of cancer datasets. <xref ref-type="bibr" rid="ref7">Basha et al. (2021)</xref> enhanced the exploitation and exploration phases of Harris hawk algorithm (HHA) by using chaotic maps to overcome the practical challenges in tuning the convolutional neural network (CNN) to classify the brain datasets. In <xref ref-type="bibr" rid="ref40">Tair et al. (2022)</xref>, the HHA &#x2018;s exploration and exploitation phase is enhanced by using the chaotic maps to boost the convergence rate of HHA.</p>
<p>It is evident, though chaotic based HHA and other meta &#x2013;heuristic algorithms are used for tuning the hyper parameters of several DL algorithms, still deployable and computational aware optimized models are badly needed for IoT-Edge-Fog Environment. Furthermore, existing works details about the chaotic maps in meta-heuristic algorithm but the selection of chaotic maps in combination with the meta-heuristic and DL models remains tricky and time- consuming process. <xref ref-type="table" rid="tab1">Table 1</xref> provides a quick summary of the literature review.</p>
<table-wrap position="float" id="tab1">
<label>Table 1</label>
<caption>
<p>Quick analysis of literature survey.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top" rowspan="2">Authors</th>
<th align="center" valign="top" rowspan="2">Techniques incorporated</th>
<th align="center" valign="top" colspan="7">Performance metrics analysis</th>
<th align="left" valign="top" rowspan="2">Advantages</th>
<th align="left" valign="top" rowspan="2">Disadvantages</th>
</tr>
<tr>
<th align="center" valign="top">Accuracy</th>
<th align="center" valign="top">Specificity</th>
<th align="center" valign="top">Sensitivity</th>
<th align="center" valign="top">Precision</th>
<th align="center" valign="top">F1-score</th>
<th align="center" valign="top">Computational complexity</th>
<th align="center" valign="top">Time complexity</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref19">Jenifer et al. (2022)</xref>
</td>
<td align="center" valign="top">Edge base detection using IoT</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/>High</td>
<td align="left" valign="top">High learning rate</td>
<td align="left" valign="top">Not suitable for real time environment</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref33">Raju et al. (2022)</xref>
</td>
<td align="center" valign="top">CCNN + GSO optimization</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/>High</td>
<td align="left" valign="top">Supports real time environment</td>
<td align="left" valign="top">Prediction efficiency needs to be improvised</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref16">Gupta et al. (2023)</xref>
</td>
<td align="center" valign="top">CNN</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="left" valign="top">Handle high scale datasets</td>
<td align="left" valign="top">More energy consumption</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref35">Sarmah (2020)</xref>
</td>
<td align="center" valign="top">DLMNN</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/>High</td>
<td align="left" valign="top">High security</td>
<td align="left" valign="top">Does not incorporated any optimization which increased the training time</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref25">Mansour et al. (2021)</xref>
</td>
<td align="center" valign="top">CSO-CLSTM</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="left" valign="top">Required less energy consumption</td>
<td align="left" valign="top">Security of the IoT data were not considered</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref22">Lavanya et al. (2023)</xref>
</td>
<td align="center" valign="top">DWT&#x2009;+&#x2009;CNN</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="left" valign="top">Required less time for training</td>
<td align="left" valign="top">The system does not have compatibility with edge devices</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref41">Venkatesan et al. (2022)</xref>
</td>
<td align="center" valign="top">FNN&#x2009;+&#x2009;DCNN</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="left" valign="top">It required less attributes for training</td>
<td align="left" valign="top">The effectiveness of this technique in older people with persistent heart conditions has not been tested.</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref26">Minh et al. (2022)</xref>
</td>
<td align="center" valign="top">Fog-based IoT approach</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="left" valign="top">Guaranteed integrity of data and support real time environment</td>
<td align="left" valign="top">Required more attributes to achieve high accuracy</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref42">Verma et al. (2022)</xref>
</td>
<td align="center" valign="top">FETCH</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="left" valign="top">Improves the computing efficiency</td>
<td align="left" valign="top">High Connectivity issues</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref29">Nancy et al. (2022)</xref>
</td>
<td align="center" valign="top">Bi-LSTM</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="left" valign="top">Required less timing for training</td>
<td align="left" valign="top">Not suitable for real time environment</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref39">Srinivasu et al. (2022)</xref>
</td>
<td align="center" valign="top">6G Networks</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> Low</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i002.tif"/> High</td>
<td align="left" valign="top">It required less attributes for training</td>
<td align="left" valign="top">High Connectivity issues</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref18">Hussien et al. (2022)</xref>
</td>
<td align="center" valign="top">HHO</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>Average</td>
<td align="left" valign="top">Required less timing for training.</td>
<td align="left" valign="top">This framework does not covered more real time frameworks.</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref28">Muttaqin et al. (2023)</xref>
</td>
<td align="center" valign="top">CNN</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="left" valign="top">It required less attributes for training</td>
<td align="left" valign="top">Not suitable for real time environment</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref40">Tair et al. (2022)</xref>
</td>
<td align="center" valign="top">Chaotic enabled Whale optimization</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="left" valign="top">High accuracy</td>
<td align="left" valign="top">Needs improvisation for IoT environment</td>
</tr>
<tr>
<td align="left" valign="top">
<xref ref-type="bibr" rid="ref7">Basha et al. (2021)</xref>
</td>
<td align="center" valign="top">Chaotic HHA</td>
<td align="center" valign="top"><inline-graphic xlink:href="frai-07-1354742-i001.tif"/>High</td>
<td align="center" valign="top">Acceptable</td>
<td align="center" valign="top">Acceptable</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="center" valign="top">Not analyzed</td>
<td align="left" valign="top">Improved performance over the other algorithms</td>
<td align="left" valign="top">Needs improvisation for IoT environment</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec3">
<label>3</label>
<title>Proposed methodology</title>
<p>The <xref ref-type="fig" rid="fig1">Figure 1</xref> provides the complete structure of the suggested framework which comprises of the three main software components: (i) Fog-IoT Data collection unit (FIDU) (ii) Data pre- processing (iii) Hybrid Deep Learning module.</p>
<fig position="float" id="fig1">
<label>Figure 1</label>
<caption>
<p>Complete structure of the suggested framework.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g001.tif"/>
</fig>
<sec id="sec4">
<label>3.1</label>
<title>Data collection unit</title>
<p>To evaluate how well the suggested model works, approximately 1,672 participants, ages 22 to 65, were chosen. About half of the participants are healthy, and the other 50% are averagely affected by heart disease. This research work uses IoT for collecting the heart signals from the volunteers. To collect the heart data, Electrocardiography (ECG) sensors are used and interfaced with NodeMCU and MCP3008. These boards are used to gather the subjects&#x2019; ECG signals and send them to adjacent edge devices running NVIDIA Jetson Nano Boards. When the 3.3&#x2009;V batteries get low, they may be changed out with another set of batteries to power the IoT boards. Besides, the ECG data collection, blood pressure of the patient is also measured which will be used as the reference values to fulfill the missing values at the pre-processing stage. Moreover, WIFI enabled NVIDIA Jetson Nano Boards are used as Fog gateways and end output data will be stored in the AWS (Amazon Cloud Services) Cloud. Each IoT-BAN node which is mounted on the patients is identified as Identified Tags (ID). Each node transmits the ECG data and Blood pressure to the Fog gateways which is then used for the training the networks. Along with the ECG and BP, age and gender of subjects are also noted. Nearly 60 subjects with the age ranges from 22 to 65 were used for experimentation. <xref ref-type="table" rid="tab2">Table 2</xref> illustrates the sample format of data collected from the real time test beds. <xref ref-type="table" rid="tab3">Table 3</xref> presents the total number of data used for the testing and evaluation.</p>
<table-wrap position="float" id="tab2">
<label>Table 2</label>
<caption>
<p>Sample datasets collected from the real time IoT-BAN device networks.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top" rowspan="2">Sl. no</th>
<th align="center" valign="top" rowspan="2">Patients ID</th>
<th align="center" valign="top" colspan="4">Attributes</th>
</tr>
<tr>
<th align="center" valign="top">Age</th>
<th align="center" valign="top">Gender</th>
<th align="center" valign="top">ECG data</th>
<th align="center" valign="top">BP data</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">1</td>
<td align="center" valign="top">ID001</td>
<td align="center" valign="top">34</td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">223</td>
<td align="center" valign="top">130</td>
</tr>
<tr>
<td align="left" valign="top">2</td>
<td align="center" valign="top">ID002</td>
<td align="center" valign="top">41</td>
<td align="center" valign="top">Female</td>
<td align="center" valign="top">190</td>
<td align="center" valign="top">90</td>
</tr>
<tr>
<td align="left" valign="top">3</td>
<td align="center" valign="top">ID003</td>
<td align="center" valign="top">29</td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">67</td>
<td align="center" valign="top">110</td>
</tr>
<tr>
<td align="left" valign="top">4</td>
<td align="center" valign="top">ID004</td>
<td align="center" valign="top">59</td>
<td align="center" valign="top">Female</td>
<td align="center" valign="top">90</td>
<td align="center" valign="top">110</td>
</tr>
<tr>
<td align="left" valign="top">5</td>
<td align="center" valign="top">ID005</td>
<td align="center" valign="top">22</td>
<td align="center" valign="top">Female</td>
<td align="center" valign="top">91</td>
<td align="center" valign="top">89</td>
</tr>
<tr>
<td align="left" valign="top">6</td>
<td align="center" valign="top">ID006</td>
<td align="center" valign="top">24</td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">100</td>
<td align="center" valign="top">80</td>
</tr>
<tr>
<td align="left" valign="top">7</td>
<td align="center" valign="top">ID007</td>
<td align="center" valign="top">45</td>
<td align="center" valign="top">Female</td>
<td align="center" valign="top">129</td>
<td align="center" valign="top">90</td>
</tr>
<tr>
<td align="left" valign="top">8</td>
<td align="center" valign="top">ID008</td>
<td align="center" valign="top">30</td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">143</td>
<td align="center" valign="top">81</td>
</tr>
<tr>
<td align="left" valign="top">9</td>
<td align="center" valign="top">ID009</td>
<td align="center" valign="top">43</td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">189</td>
<td align="center" valign="top">120</td>
</tr>
<tr>
<td align="left" valign="top">10</td>
<td align="center" valign="top">ID010</td>
<td align="center" valign="top">46</td>
<td align="center" valign="top">Male</td>
<td align="center" valign="top">190</td>
<td align="center" valign="top">120</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="tab3">
<label>Table 3</label>
<caption>
<p>Real time data used for the testing and evaluation.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Dataset description</th>
<th align="center" valign="top">No of data</th>
<th align="center" valign="top">No of records</th>
<th align="center" valign="top">No of attributes</th>
<th align="center" valign="top">Associated tasks</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Real time datasets</td>
<td align="center" valign="top">1,672</td>
<td align="center" valign="top">300</td>
<td align="center" valign="top">04</td>
<td align="center" valign="top">Prediction</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec5">
<label>3.2</label>
<title>Data pre-processing and data preparation</title>
<p>In order to identify values for various aspects, a measure of the deep learning model&#x2019;s input, the data received from common ECG sensors and blood pressure sensors must be pre- processed (<xref ref-type="bibr" rid="ref38">Shou et al., 2021</xref>; <xref ref-type="bibr" rid="ref40">Tair et al., 2022</xref>; <xref ref-type="bibr" rid="ref32">Rajkumar et al., 2023</xref>). For this, the system needs to be supplied domain knowledge that is specific to the application. The data needed to be normalized because it was significantly skewed. The data for Blood Pressure (BP) is equally biased, and individuals with heart disease had higher BP readings (greater than 130/100) than those without heart disease. The distribution of the healthy patient&#x2019;s heartbeats is leptokurtic, while the patient&#x2019;s aberrant heartbeat levels also exhibit some target-specific behavior. Even at their highest heart rate, healthy persons have a much greater maximum heart (about 160) rate than people with heart disease (around 150). In this research article, Studentized Residual methods (<xref ref-type="bibr" rid="ref21">Krishnan et al., 2021</xref>) are used to fill the missing values and non-meaningful data since these signals are subjected to the different environmental noises and EMI interference from the other devices. These pre- processed data are used for training and testing process that makes the decision of patient&#x2018;s heart condition.</p>
</sec>
<sec id="sec6">
<label>3.3</label>
<title>Hybrid deep learning model</title>
<p>This module in the framework uses the pre-processed data for training the proposed hybrid learning model. As discussed, data are obtained from the BAN-IoT nodes mounted on the body of the patients which is then feed to the hybrid deep learning technique that consists of combination of self-attention based gated units with the Logistics Chaos based Harris Hawk optimised feed forward learning networks. The working principle of the complete learning framework is presented in the preceding section.</p>
<sec id="sec7">
<label>3.3.1</label>
<title>Gated recurrent units</title>
<p>Most people find GRU to be the most fascinating form of long short-term memory. The idea presented by <xref ref-type="bibr" rid="ref43">Waris and Koteeswaran (2022)</xref> suggests combining the forget gate and input vector into a single vector. This network supports long term sequences as well as long memories. The complexity is significantly lower when compared to that of the LSTM network.</p>
<p>The following <xref ref-type="disp-formula" rid="EQ1">Equations (1&#x2013;4)</xref> show the characteristics of GRU.</p>
<disp-formula id="EQ1">
<label>(1)</label>
<mml:math id="M1">
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:math>
</disp-formula>
<disp-formula id="EQ2">
<label>(2)</label>
<mml:math id="M2">
<mml:msub>
<mml:mover>
<mml:mi>h</mml:mi>
<mml:mo>&#x223C;</mml:mo>
</mml:mover>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mi>g</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
</mml:math>
</disp-formula>
<disp-formula id="EQ3">
<label>(3)</label>
<mml:math id="M3">
<mml:msub>
<mml:mi>Z</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mi>&#x03C3;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>z</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>z</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:math>
</disp-formula>
<disp-formula id="EQ4">
<label>(4)</label>
<mml:math id="M4">
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mi>&#x03C3;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>z</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>r</mml:mi>
</mml:msub>
<mml:mspace width="0.25em"/>
</mml:mrow>
</mml:mfenced>
</mml:math>
</disp-formula>
<p>The general GRU characteristic equation is as follows:</p>
<disp-formula id="EQ5">
<label>(5)</label>
<mml:math id="M5">
<mml:mi>P</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>G</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>U</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo stretchy="true">&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="normal">n</mml:mi>
</mml:munderover>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi>B</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi>&#x03B7;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi mathvariant="italic">tannh</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:math>
</disp-formula>
<p>where xt&#x21E8; input feature at the present state; yt&#x21E8; output state; ht&#x21E8; output of the module at the present instant; Zt and rt&#x21E8; update and reset gates; <italic>W</italic>(t)&#x21E8; weights; <italic>B</italic>(t)&#x21E8; bias weights at present instant. As from preprocessed ECG data, these GRU networks are used for extracting the temporal properties. The GRU model uses the Chaotic Harris Hawk method to optimize the weights in the dense neural network of the GRU and may learn the R&#x2013;R interval peak with larger modifications to prevent over-fitting problems. With the intention to improve feature extraction and address the complexity issue, this research effort introduces self-attention based gated units.</p>
</sec>
<sec id="sec8">
<label>3.3.2</label>
<title>Self-attention evoked gated recurrent units</title>
<p>The attention map was developed in 2014 to help define the concepts correctly in sequence- to-sequence architecture. Most recent research focuses on simulating redundant features that can aid in precise categorization procedures through the usage of attention layers. The intra- attention mechanism, also known as the self-attention mechanism, functions by producing the three vectors Q, K, and V for every input sequence. This results in the output sequences being created from the input sequences from each layer. Basically, it is a method that uses scaled dot functions to map the query to the set of key pairs. The following <xref ref-type="disp-formula" rid="EQ6">Equation (6)</xref> is used to get the dot product for self-attention mathematically:</p>
<disp-formula id="EQ6">
<label>(6)</label>
<mml:math id="M6">
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")" separators=",">
<mml:mi>K</mml:mi>
<mml:mi>Q</mml:mi>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:mfenced open="(" close=")" separators=",">
<mml:mfenced open="(" close=")">
<mml:mi>K</mml:mi>
</mml:mfenced>
<mml:msup>
<mml:mi>Q</mml:mi>
<mml:mi>T</mml:mi>
</mml:msup>
</mml:mfenced>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="true">/</mml:mo>
<mml:mfenced open="(" close=")">
<mml:msub>
<mml:mi>V</mml:mi>
<mml:mi>K</mml:mi>
</mml:msub>
</mml:mfenced>
<mml:mo>^</mml:mo>
<mml:mn>0.5</mml:mn>
</mml:math>
</disp-formula>
<p>GRU networks are developed by integrating the attention layers after each and every GRU cell in order to collect the relevant data from the BAN-IoT test beds. The GRU network collects many heart-related features that can be used to improve classification. However, these features include more non-redundant data (such noise signals) that could have an impact on training time, which adds to the overhead in the classification layer and delays decision-making. In order to get around this classification overhead, self-attention layers are inserted in between every single GRU cell. <xref ref-type="disp-formula" rid="EQ7">Equation (7)</xref> represents the attention features for single layered GRU and attention.</p>
<disp-formula id="EQ7">
<label>(7)</label>
<mml:math id="M7">
<mml:mi>Y</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi mathvariant="italic">Softmax</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>G</mml:mi>
<mml:mi>R</mml:mi>
<mml:mi>U</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")" separators=",">
<mml:mi>K</mml:mi>
<mml:mi>Q</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:math>
</disp-formula>
<p>Hence the overall structural representation of the Attention Evoked GRU cells is as follows with the <xref ref-type="disp-formula" rid="EQ8">Equation (8)</xref>:</p>
<disp-formula id="EQ8">
<label>(8)</label>
<mml:math id="M8">
<mml:mi>Y</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>n</mml:mi>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo stretchy="true">&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mi>L</mml:mi>
</mml:munderover>
<mml:mi>Y</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>i</mml:mi>
</mml:mfenced>
</mml:math>
</disp-formula>
<p>Where L&#x2009;=&#x2009;No of GRU cells.</p>
</sec>
</sec>
<sec id="sec9">
<label>3.4</label>
<title>Feed forward learning networks</title>
<p>The fully integrated feed forward network then receives these features for final categorization. The completely connected layers are constructed using the Extreme Learning Machines (ELM) idea. An ELM has a single hidden layer and is a type of neural network that operates on the auto-tuning property. ELM exhibits greater performance, fast speed, and low processing cost in comparison to all other learning methods like SVM, Bayesian Classifier, KNN and even RF.</p>
<p>This specific neural network has just one hidden layer, which rarely requires to be adjusted. Compared with other machine learning algorithms like SVM and RF, ELM performs better, faster, and with less overhead. ELM yields better accuracy as well as improved performance using the kernel function. Higher approximation and reduced training error are the key advantages of the ELM. Considering that ELM makes use of automatic weight bias adjustment and non-zero activation functions. The ELM&#x2019;s intricate operating mechanism is covered in <xref ref-type="bibr" rid="ref4">Alwateer et al. (2021</xref>). After Attention maps, the representation of the inputs features mapping to the ELM is represented used the <xref ref-type="disp-formula" rid="EQ9">Equation (9)</xref></p>
<disp-formula id="EQ9">
<label>(9)</label>
<mml:math id="M9">
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>m</mml:mi>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo stretchy="true">&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mi>L</mml:mi>
</mml:munderover>
<mml:mi>Y</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>k</mml:mi>
</mml:mfenced>
</mml:math>
</disp-formula>
<p>Where Y&#x21E8; features from Self Attention GRU network, The yield ELM function&#x2019;s symbol is.</p>
<disp-formula id="EQ10">
<label>(10)</label>
<mml:math id="M10">
<mml:mi>Y</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>m</mml:mi>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>m</mml:mi>
</mml:mfenced>
<mml:mi>&#x03B2;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>m</mml:mi>
</mml:mfenced>
<mml:msup>
<mml:mi>X</mml:mi>
<mml:mi>T</mml:mi>
</mml:msup>
<mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>C</mml:mi>
</mml:mfrac>
<mml:mi>X</mml:mi>
<mml:msup>
<mml:mi>X</mml:mi>
<mml:mi>T</mml:mi>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mn>0</mml:mn>
</mml:math>
</disp-formula>
</sec>
<sec id="sec10">
<label>3.5</label>
<title>Hyper parameter tuning of the feed forward learning networks</title>
<p>Tuning hyper-parameters is done to obtain the best hyper-parameters for the suggested model in order to further reduce complexity. Prior to model training, hyperparameter adjustment is done. Hyperparameters that need to be modified in this study are the number of hidden layers, number of hidden units, dropout rate, epochs, and batch size. In this research, Logistic Chaotic Harris hawk Optimization algorithms are used for the tuning the parameters of the networks for the better classification. The principle of operation of logistic chaotic Harris hawk optimization algorithms is presented below.</p>
<sec id="sec11">
<label>3.5.1</label>
<title>Harris hawk optimization algorithm</title>
<p>The various ways that hawks explore and attack their prey provide as inspiration for the HHO algorithm (<xref ref-type="bibr" rid="ref43">Waris and Koteeswaran, 2022</xref>). Three stages make up HHO, a population-based optimisation technology: exploration, transformation of exploration, and exploitation. The different phases of HHO are shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p>
<fig position="float" id="fig2">
<label>Figure 2</label>
<caption>
<p>Different HHO phases.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g002.tif"/>
</fig>
<sec id="sec12">
<label>3.5.1.1</label>
<title>Exploration stage</title>
<p>The relative positions of rabbits or other members are used to determine the hawks&#x2019; perching spots at this stage, which are modelled as follows:</p>
<disp-formula id="EQ11">
<label>(11)</label>
<mml:math id="M11">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>=</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mfenced open="{" close="}">
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rand</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo stretchy="true">|</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rand</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>2</mml:mn>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo stretchy="true">|</mml:mo>
<mml:mo>,</mml:mo>
<mml:mspace width="2.75em"/>
<mml:mi>q</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:mn>0.5</mml:mn>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mn>3</mml:mn>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mn>4</mml:mn>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>U</mml:mi>
<mml:mi>B</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>L</mml:mi>
<mml:mi>B</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="1.75em"/>
<mml:mi>q</mml:mi>
<mml:mo>&#x003C;</mml:mo>
<mml:mn>0.5</mml:mn>
<mml:mtext>,</mml:mtext>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
<disp-formula id="EQ12">
<label>(12)</label>
<mml:math id="M12">
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>N</mml:mi>
</mml:mfrac>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo stretchy="true">&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>N</mml:mi>
</mml:munderover>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mtext>,</mml:mtext>
</mml:math>
</disp-formula>
<p>Where <italic>X</italic><sub>rabbit</sub> (t) is the prey&#x2019;s position, <italic>X</italic>(t) is the hawks&#x2019; position, and <italic>X</italic>(t&#x2009;+&#x2009;1) is the new position of the hawks in the <xref ref-type="disp-formula" rid="EQ11">Equation (11)</xref>. The absolute value of the elements is denoted by the modulus. In the interval (0, 1), the random numbers &#x1D45F;<sub>1</sub>,<sub>2</sub>, &#x1D45F;<sub>3</sub>, &#x1D45F;<sub>4</sub> and &#x1D45E; are found. UB and LB are the upper and lower bounds of variables. &#x1D44B;<sub>&#x1D45F;&#x1D44E;&#x1D45B;&#x1D451;</sub> (&#x1D461;) is the position of a random hawk population. The average position of the hawk population at any given time is &#x1D44B;<sub>&#x1D45A;</sub> (&#x1D461;) calculated using the <xref ref-type="disp-formula" rid="EQ12">Equation (12)</xref>.</p>
</sec>
<sec id="sec13">
<label>3.5.1.2</label>
<title>Transformation of exploration and exploitation</title>
<p>The following <xref ref-type="disp-formula" rid="EQ13">Equations (13</xref> <xref ref-type="disp-formula" rid="EQ14">14)</xref> are used to evaluate the prey&#x2019;s escape energy, which plays a significant role in the transition stage:</p>
<disp-formula id="EQ13">
<label>(13)</label>
<mml:math id="M13">
<mml:msub>
<mml:mi>E</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mn>2</mml:mn>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mi>t</mml:mi>
<mml:mi>T</mml:mi>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:math>
</disp-formula>
<disp-formula id="EQ14">
<label>(14)</label>
<mml:math id="M14">
<mml:mi>E</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>E</mml:mi>
<mml:mn>0</mml:mn>
<mml:mi>E</mml:mi>
<mml:mn>1</mml:mn>
</mml:math>
</disp-formula>
<p>Where <italic>T</italic> is the maximum number of iterations; E0 represents the initial energy of a prey, randomly varying between &#x2212;1 and 1; and <italic>t</italic> is the current iteration.</p>
</sec>
<sec id="sec14">
<label>3.5.1.3</label>
<title>Exploitation stage</title>
<p>At this stage, the prey is attacked by the hawks use all four of their methods as well as its escape mechanism. A successful capture requires both escaping energy (<italic>E</italic>) and escape potential (<italic>r</italic>).</p>
<p>In the following equations, Hawks executed a light besiege when <italic>r</italic>&#x2009;&#x2265;&#x2009;0.5 and |E|&#x2009;&#x2265;&#x2009;0.5. This indicates that the prey has sufficient energy but has failed in its attempt to escape.</p>
<disp-formula id="EQ15">
<label>(15)</label>
<mml:math id="M15">
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:mi>&#x0394;</mml:mi>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>E</mml:mi>
<mml:mo stretchy="true">|</mml:mo>
<mml:mi>J</mml:mi>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo stretchy="true">|</mml:mo>
</mml:math>
</disp-formula>
<disp-formula id="EQ16">
<label>(16)</label>
<mml:math id="M16">
<mml:mi>&#x0394;</mml:mi>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
</mml:math>
</disp-formula>
<p>Where &#x1D44B;<sub>&#x1D45F;&#x1D44E;&#x1D44F;&#x1D44F;&#x1D456;&#x1D461;</sub> (&#x1D461;) denotes the leap strength, which varies randomly with each in <xref ref-type="disp-formula" rid="EQ15">Equations (15</xref> <xref ref-type="disp-formula" rid="EQ16">16</xref>), and</p>
<p>&#x2206;(&#x1D461;) indicates the difference between the prey&#x2019;s current position and the hawks&#x2019; position at iteration <italic>t</italic>. The random number &#x1D45F;<sub>5</sub> ranges from 0 to 1.</p>
<p>Hawks attempt to escape by applying a hard besiege on prey that has low escaping energy, as shown by <italic>r</italic>&#x2009;&#x2265;&#x2009;0.5 and |<italic>E</italic>|&#x2009;&#x003C;&#x2009;0.5, which can be modelled as follows in the <xref ref-type="disp-formula" rid="EQ17">Equation (17)</xref>:</p>
<disp-formula id="EQ17">
<label>(17)</label>
<mml:math id="M17">
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>E</mml:mi>
<mml:mo stretchy="true">|</mml:mo>
<mml:mi>&#x0394;</mml:mi>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi mathvariant="normal">t</mml:mi>
</mml:mfenced>
<mml:mo stretchy="true">|</mml:mo>
</mml:math>
</disp-formula>
<p>When <italic>r</italic>&#x2009;&#x003C;&#x2009;0.5 and |<italic>E</italic>|&#x2009;&#x2265;&#x2009;0.5, hawks execute progressive fast dives, modelled as follows in <xref ref-type="disp-formula" rid="EQ18">Equation (18)</xref>, to hunt through a more cunning soft encirclement termed soft besiege.</p>
<disp-formula id="EQ18">
<label>(18)</label>
<mml:math id="M18">
<mml:mi>Y</mml:mi>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mn>0</mml:mn>
<mml:mi>v</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>E</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mo stretchy="true">|</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo stretchy="true">|</mml:mo>
</mml:math>
</disp-formula>
<disp-formula id="EQ19">
<label>(19)</label>
<mml:math id="M19">
<mml:mi>Z</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>Y</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi mathvariant="italic">SXLF</mml:mi>
<mml:mspace width="0.25em"/>
<mml:mfenced open="(" close=")">
<mml:mi>D</mml:mi>
</mml:mfenced>
</mml:math>
</disp-formula>
<p>Where &#x1D437; be the dimension of the problem, &#x1D446; be a random vector of size 1 &#x00D7; &#x1D437;, and LF be the Levy flight function as specified by the given <xref ref-type="disp-formula" rid="EQ19">Equations (19-21)</xref>.</p>
<disp-formula id="EQ20">
<label>(20)</label>
<mml:math id="M20">
<mml:mi>L</mml:mi>
<mml:mi>F</mml:mi>
<mml:mspace width="0.25em"/>
<mml:mfenced open="(" close=")">
<mml:mi>d</mml:mi>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:mn>0.01</mml:mn>
<mml:mo>&#x00D7;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:mo>&#x00D7;</mml:mo>
<mml:mi>&#x03C3;</mml:mi>
</mml:mrow>
<mml:msup>
<mml:mfenced open="|" close="|">
<mml:mi>v</mml:mi>
</mml:mfenced>
<mml:mfrac bevelled="true">
<mml:mn>1</mml:mn>
<mml:msup>
<mml:mi>&#x03B2;</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mfrac>
</mml:msup>
</mml:mfrac>
</mml:math>
</disp-formula>
<disp-formula id="EQ21">
<label>(21)</label>
<mml:math id="M21">
<mml:mi>&#x03C3;</mml:mi>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mfenced open="(" close=")">
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x0393;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mi>&#x03B2;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x00D7;</mml:mo>
<mml:mo>sin</mml:mo>
<mml:mspace width="thickmathspace"/>
<mml:mi>&#x03C0;</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mfrac bevelled="true">
<mml:mi>&#x03B2;</mml:mi>
<mml:mn>2</mml:mn>
</mml:mfrac>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x0393;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>+</mml:mo>
<mml:mfrac bevelled="true">
<mml:mi>&#x03B2;</mml:mi>
<mml:mn>2</mml:mn>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x00D7;</mml:mo>
<mml:mi>&#x03B2;</mml:mi>
<mml:mo>&#x00D7;</mml:mo>
<mml:msup>
<mml:mn>2</mml:mn>
<mml:mrow>
<mml:mi>&#x03B2;</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac bevelled="true">
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn>
</mml:mfrac>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mfenced>
<mml:mfrac bevelled="true">
<mml:mn>1</mml:mn>
<mml:mi>&#x03B2;</mml:mi>
</mml:mfrac>
</mml:msup>
</mml:math>
</disp-formula>
<p>Where <italic>&#x0393;</italic> is a typical Gamma function, <italic>&#x03B2;</italic> is a constant that has a bound of 1.5, and <italic>u</italic>, <italic>v</italic> are random normal distribution vectors of size 1&#x2009;&#x00D7;&#x2009;<italic>d</italic>. The positions of the hawk can be modelled by using the <xref ref-type="disp-formula" rid="EQ22">Equation (22)</xref></p>
<disp-formula id="EQ22">
<label>(22)</label>
<mml:math id="M22">
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mi>Y</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi mathvariant="italic">if</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>z</mml:mi>
</mml:mfenced>
<mml:mo>&#x003C;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>Z</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi mathvariant="italic">if</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>z</mml:mi>
</mml:mfenced>
<mml:mo>&#x003C;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
<p>A hard besiege is declared when the prey&#x2019;s energy is exhausted (<italic>r</italic>&#x2009;&#x003C;&#x2009;0.5 and |<italic>E</italic>|&#x2009;&#x003C;&#x2009;0.5). <xref ref-type="disp-formula" rid="EQ23">Equations (23)</xref> and <xref ref-type="disp-formula" rid="EQ24">(24)</xref>, representing <italic>Y</italic> and <italic>Z</italic>, are used in the calculation.</p>
<disp-formula id="EQ23">
<label>(23)</label>
<mml:math id="M23">
<mml:mi>Y</mml:mi>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>E</mml:mi>
<mml:mo stretchy="true">|</mml:mo>
<mml:mi>J</mml:mi>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo stretchy="true">|</mml:mo>
</mml:math>
</disp-formula>
<disp-formula id="EQ24">
<label>(24)</label>
<mml:math id="M24">
<mml:mi>Z</mml:mi>
<mml:mo>=</mml:mo>
<mml:mi>Y</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>S</mml:mi>
<mml:mo>&#x00D7;</mml:mo>
<mml:mi>L</mml:mi>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>D</mml:mi>
</mml:mfenced>
</mml:math>
</disp-formula>
<p>The updating method is as follows:</p>
<disp-formula id="EQ25">
<label>(25)</label>
<mml:math id="M25">
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:mtable>
<mml:mtr>
<mml:mtd>
<mml:mi>Y</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi mathvariant="italic">if</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>z</mml:mi>
</mml:mfenced>
<mml:mo>&#x003C;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi>Z</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi mathvariant="italic">if</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>z</mml:mi>
</mml:mfenced>
<mml:mo>&#x003C;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
</sec>
</sec>
</sec>
<sec id="sec15">
<label>3.6</label>
<title>Logistic chaotic Harris hawk optimization algorithm (LC-HHOA)</title>
<p>Even though Harris hawk has a higher rate of convergence than other algorithms, it still requires improvisation to find the overall optimal solution, which lowers the rate of convergence. So to increase the efficiency of the Harris hawk algorithm, Logistic Chaotic maps are introduced. The detailed descriptions of Logistic Chaotic Maps are discussed in <xref ref-type="bibr" rid="ref4">Alwateer et al. (2021)</xref>. The logistic maps are mainly selected due to its simple and easily deployable. Due to the dynamic behavior and unpredictable nature of these maps, exploration search space is increased in which the trapping problem is prevented in the local minima. Probability distributions are used to create unpredictability in practically all meta-heuristic techniques with stochastic elements. <xref ref-type="fig" rid="fig3">Figure 3</xref> presents the complete flow diagram for the proposed optimization algorithm.</p>
<fig position="float" id="fig3">
<label>Figure 3</label>
<caption>
<p>Flow chart for the proposed model LC-HHOA.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g003.tif"/>
</fig>
<p>The incorporation of Logistic Chaotic maps in Harris hawk optimization mathematically expressed by converting the random search variables into logistic maps in rabbit searching mechanism. The chaotic variables <italic>X</italic> chaos are used in place of &#x2206;<italic>X</italic> and <italic>X</italic>(t) in rabbit searching mechanism. The mathematical expressions for representing the chaos based positions in the Harris hawk searching mechanism is given as follows in the <xref ref-type="disp-formula" rid="EQ26">Equations (26</xref> <xref ref-type="disp-formula" rid="EQ27">27)</xref>.</p>
<disp-formula id="EQ26">
<label>(26)</label>
<mml:math id="M26">
<mml:mi>X</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">chaos</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>E</mml:mi>
<mml:mo stretchy="true">|</mml:mo>
<mml:mi>J</mml:mi>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">chaos</mml:mi>
</mml:msub>
<mml:mo stretchy="true">|</mml:mo>
</mml:math>
</disp-formula>
<disp-formula id="EQ27">
<label>(27)</label>
<mml:math id="M27">
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">chaos</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">rabbit</mml:mi>
</mml:msub>
<mml:mspace width="0.25em"/>
<mml:mfenced open="(" close=")">
<mml:mi>t</mml:mi>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mi mathvariant="italic">chaos</mml:mi>
</mml:msub>
</mml:math>
</disp-formula>
<p>Where <italic>X</italic><sub>rabbit</sub> (t) is the leap strength that occurs randomly at each iteration and <italic>X</italic><sub>chaos</sub> is the difference between the prey&#x2019;s current position and the hawks&#x2019; position at chaotic iteration <italic>t</italic>. The random number r<sub>5</sub> ranges from 0 to 1.</p>
</sec>
<sec id="sec16">
<label>3.7</label>
<title>LC-HHOA based feed forward training networks</title>
<p>The weights of the dense networks employed by GRU are optimized using the simple LC- HHOA, as was mentioned in Section 3.3.1. The GRU training system retrieves the randomly selected hyperparameters at first. The fitness value of the recommended method is given in <xref ref-type="disp-formula" rid="EQ28">Equation (28)</xref>. Hyperparameters are computed using <xref ref-type="sec" rid="sec17">Algorithm 1</xref> for each iteration. Whenever the fitness function agrees with the <xref ref-type="disp-formula" rid="EQ28">Equation (28)</xref>, iteration ends.</p>
<disp-formula id="EQ28">
<label>(28)</label>
<mml:math id="M28">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mi mathvariant="italic">Fitness</mml:mi>
<mml:mspace width="0.25em"/>
<mml:mi mathvariant="italic">Function</mml:mi>
<mml:mo>=</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mfenced open="{" close="}">
<mml:mtable columnalign="left">
<mml:mtr>
<mml:mtd>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi mathvariant="italic">Accuracy</mml:mi>
</mml:mfenced>
<mml:mo>+</mml:mo>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mfenced open="(" close=")">
<mml:mi mathvariant="italic">Precision</mml:mi>
</mml:mfenced>
<mml:mo>+</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mi mathvariant="italic">Recall</mml:mi>
</mml:mfenced>
<mml:mo>+</mml:mo>
<mml:mi mathvariant="italic">max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>f</mml:mi>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mi mathvariant="italic">score</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mfenced>
<mml:mo stretchy="true">/</mml:mo>
<mml:mi mathvariant="normal">No</mml:mi>
<mml:mspace width="thickmathspace"/>
<mml:mi mathvariant="normal">of iteration</mml:mi>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
</disp-formula>
<p>The developed classification layer quickly and with minimal computation detects normal and heart disease conditions after the input Algorithm 1 presents the suggested classification layers&#x2019; operational mechanism. Hence the Self-attention evoked GRU units are used to extract the R&#x2013;R intervals followed by the LC-HHOA dense training networks for an effective prediction of the heart diseases. Based on the proposed LC-HHOA, 10 GRU cells, 221 hidden nodes, momentum of 0.01, epochs of 140 are selected.</p>
<sec id="sec17">
<title>ALGORITHM 1</title>
<table-wrap position="anchor" id="tab4">
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top"><monospace>Steps</monospace></th>
<th align="left" valign="top"><monospace>Algorithm-1 // Pseudo Code for the Proposed Model</monospace></th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top"><monospace>01</monospace></td>
<td align="left" valign="top"><monospace>Input: Bias weight, concealed units, Epochs, Learning Rate</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>02</monospace></td>
<td align="left" valign="top"><monospace>Target: Prediction of Normal/Heart Diseases</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>03</monospace></td>
<td align="left" valign="top"><monospace>Bias weight, concealed units, epochs, and learning rate should be assigned at</monospace><break/><monospace>random.</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>04</monospace></td>
<td align="left" valign="top"><monospace>Set the three parameters</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>05</monospace></td>
<td align="left" valign="top"><monospace>Use While loop for true</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>06</monospace></td>
<td align="left" valign="top"><monospace>Use equation (5) to determine the output from GRU cells</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>07</monospace></td>
<td align="left" valign="top"><monospace>Use the formula (28) for determining the fitness function</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>08</monospace></td>
<td align="left" valign="top"><monospace>Start the For loop from t=1 to Max. iteration</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>09</monospace></td>
<td align="left" valign="top"><monospace>Use equations (25 &#x0026; 26) to assign the bias weights &#x0026; input layers</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>10</monospace></td>
<td align="left" valign="top"><monospace>Use equation (28) for calculating the fitness function</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>11</monospace></td>
<td align="left" valign="top"><monospace>Check If condition for (Fitness function is equal to threshold)</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>12</monospace></td>
<td align="left" valign="top"><monospace>jump to Step 17</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>13</monospace></td>
<td align="left" valign="top"><monospace>Otherwise</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>14</monospace></td>
<td align="left" valign="top"><monospace>jump to Step 8</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>15</monospace></td>
<td align="left" valign="top"><monospace>Stop</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>16</monospace></td>
<td align="left" valign="top"><monospace>Stop</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>17</monospace></td>
<td align="left" valign="top"><monospace>Calculate the Output function from Dense layers using Equation (10)</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>18</monospace></td>
<td align="left" valign="top"><monospace>If Output function is equal to 1</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>19</monospace></td>
<td align="left" valign="top"><monospace>//Normal or No disease is determined &#x21E8;estimated</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>20</monospace></td>
<td align="left" valign="top"><monospace>Else if (output function&#x003C;=2&#x0026;&#x0026;&#x003E;1)</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>21</monospace></td>
<td align="left" valign="top"><monospace>// heart disease -1 &#x21E8;estimated</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>22</monospace></td>
<td align="left" valign="top"><monospace>Else if (output function &#x003C;=3&#x0026;&#x0026;&#x003E;2)</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>23</monospace></td>
<td align="left" valign="top"><monospace>// heart disease -2 &#x21E8;estimated</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>24</monospace></td>
<td align="left" valign="top"><monospace>Else</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>25</monospace></td>
<td align="left" valign="top"><monospace>jump to Step 9</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>26</monospace></td>
<td align="left" valign="top"><monospace>Stop</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>27</monospace></td>
<td align="left" valign="top"><monospace>Stop</monospace></td>
</tr>
<tr>
<td align="left" valign="top"><monospace>28</monospace></td>
<td align="left" valign="top"><monospace>Stop</monospace></td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
</sec>
<sec id="sec18">
<label>4</label>
<title>Implementation</title>
<sec id="sec19">
<label>4.1</label>
<title>Hardware setup</title>
<p>The proposed model was implemented using Python-based Keras Libraries, Tensorflow v2.1 as the backend, and NVIDIA Jetson Nano V4. MCP3008 interfaced NodeMCU is used as BAN-IoT node for collecting the ECG and Blood pressure data from the different Subjects. Nearly 5 IoT nodes with Fog gateway is used for the experimentation. <xref ref-type="table" rid="tab5">Table 4</xref> presents the hardware specification of the BAN-IoT nodes implemented for the ECG and BP measurements. <xref ref-type="fig" rid="fig4">Figures 4A</xref>&#x2013;<xref ref-type="fig" rid="fig4">C</xref> details about the experimentation of proposed model using IoT- BAN nodes and Fog Environment. <xref ref-type="fig" rid="fig4">Figure 4C</xref> shows the NVIDIA based Fog Gateway used in experimentation. AD3282 ECG sensor is used for measuring the ECG signals whereas Omron 2SMPP-02 Blood pressure sensor is deployed for measuring the BP.</p>
<table-wrap position="float" id="tab5">
<label>Table 4</label>
<caption>
<p>Hardware specification for the BAN-IoT nodes used for the experimentation.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="middle">Sl.no</th>
<th align="left" valign="middle">Hardware descriptions</th>
<th align="left" valign="middle">Specifications</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">1</td>
<td align="left" valign="top">Microcontroller in BAN-IoT nodes</td>
<td align="left" valign="top">NodeMCU</td>
</tr>
<tr>
<td align="left" valign="top">2</td>
<td align="left" valign="top">Gateways</td>
<td align="left" valign="top">NVIDIA Jetson Nano</td>
</tr>
<tr>
<td align="left" valign="top">3</td>
<td align="left" valign="top">Analog &#x2013;to &#x2013;digital channels resolution</td>
<td align="left" valign="top">10-bits</td>
</tr>
<tr>
<td align="left" valign="top">4</td>
<td align="left" valign="top">ECG sensor</td>
<td align="left" valign="top">AD3282</td>
</tr>
<tr>
<td align="left" valign="top">5</td>
<td align="left" valign="top">BP sensor</td>
<td align="left" valign="top">2SMPP-02</td>
</tr>
<tr>
<td align="left" valign="top">6</td>
<td align="left" valign="top">Power</td>
<td align="left" valign="top">3.3&#x2009;V</td>
</tr>
<tr>
<td align="left" valign="top">7</td>
<td align="left" valign="top">Mode of connectivity</td>
<td align="left" valign="top">WIFI enabled devices</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig position="float" id="fig4">
<label>Figure 4</label>
<caption>
<p>Experimental setup <bold>(A,B)</bold> IoT-BAN nodes interfaced with ECG and BP Sensors Mounted on the Subjects. <bold>(C)</bold> Fog gateway used with the NVIDIA Jetson Nano Boards.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g004.tif"/>
</fig>
</sec>
<sec id="sec20">
<label>4.2</label>
<title>Dataset details</title>
<p>To train and test the suggested model, about 1,672 datasets were gathered and provided. Eight hundred and eighty-seven were healthy and remaining were unhealthy. The complete dataset were split into different testing and training ratios to achieve better performance of the proposed model.</p>
</sec>
</sec>
<sec id="sec21">
<label>5</label>
<title>Performance evaluation</title>
<p>Performance measures like accuracy, precision, recall, specificity as well as F1-score are evaluated (<xref ref-type="bibr" rid="ref34">Ramasamy et al., 2021</xref>; <xref ref-type="bibr" rid="ref36">Sarosh et al., 2022</xref>) and immediately compared with other cutting-edge deep learning algorithms employing a fog computing field to show the superiority of the proposed model. All the performance measures as well as latency overhead are also evaluated to demonstrate that the suggested model seems to be more productive and have low overheads. <xref ref-type="table" rid="tab6">Table 5</xref> presents the mathematical formula utilized to determine the performance measures. The early stopping technique is used to get around the generalization and overfitting issues. When the suggested model&#x2019;s validation performance does not become better over time, this technique is utilized to end the iteration.</p>
<table-wrap position="float" id="tab6">
<label>Table 5</label>
<caption>
<p>Performance measures employed in the evaluation.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="middle">SL.NO</th>
<th align="left" valign="middle">Performance measures</th>
<th align="center" valign="middle">Expression</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">1</td>
<td align="left" valign="top">Accuracy</td>
<td align="center" valign="top">
<inline-formula>
<mml:math id="M29">
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left" valign="top">2</td>
<td align="left" valign="top">Recall</td>
<td align="center" valign="top">
<inline-formula>
<mml:math id="M30">
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mspace width="0.25em"/>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi mathvariant="normal">F</mml:mi>
<mml:mi mathvariant="normal">N</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x00D7;</mml:mo>
<mml:mn>100</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left" valign="top">3</td>
<td align="left" valign="top">Specificity</td>
<td align="center" valign="top">
<inline-formula>
<mml:math id="M31">
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left" valign="top">4</td>
<td align="left" valign="top">Precision</td>
<td align="center" valign="top">
<inline-formula>
<mml:math id="M32">
<mml:mfrac>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mi>P</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi>F</mml:mi>
<mml:mi>P</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left" valign="top">5</td>
<td align="left" valign="top">F1-Score</td>
<td align="center" valign="top">
<inline-formula>
<mml:math id="M33">
<mml:mn>2</mml:mn>
<mml:mfrac>
<mml:mrow>
<mml:mi mathvariant="italic">Precison</mml:mi>
<mml:mo>&#x2217;</mml:mo>
<mml:mi mathvariant="italic">Recall</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="italic">Precison</mml:mi>
<mml:mo>+</mml:mo>
<mml:mi mathvariant="italic">Recall</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:math>
</inline-formula>
</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p>TP and TN are true positive and negative, FP and FN are false positive and negative.</p>
</table-wrap-foot>
</table-wrap>
<p>Predication case is defined in four parts: the first one is true positive (TP) in which the values are identified as true and, in reality, it was true also. The second one is false positive (FP) in which the values identified are false but are identified as true. The third one is false negative (FN) in which the value was true but was identified as negative. The fourth one is true negative (TN) in which the value was negative and was truly identified as negative.</p>
<sec id="sec22">
<label>5.1</label>
<title>Ablation study</title>
<p>This section measures and compares many metrics to the most recent deep learning algorithms, including predictive accuracy, model building time, latency characteristics, and energy consumption. The deep learning techniques are considered for the experimentation are Recurrent Neural Networks (<xref ref-type="bibr" rid="ref12">Devi et al., 2013</xref>), Long Short Term Memory (<xref ref-type="bibr" rid="ref31">Priyanga et al., 2021</xref>), and Gated Recurrent Units (<xref ref-type="bibr" rid="ref24">Liu and Kim, 2018</xref>). As the first step, 5-cross validation is conducted for each algorithm and performance is analyzed. In the scenario, the average performance of the suggested framework has performed better than the competition in Fog environment. The evaluation effectiveness of the various algorithms is displayed in <xref ref-type="fig" rid="fig5">Figures 5</xref>&#x2013;<xref ref-type="fig" rid="fig8">8</xref> using five &#x2013;fold validation matrix. It is evident from <xref ref-type="fig" rid="fig5">Figures 5</xref>&#x2013;<xref ref-type="fig" rid="fig8">8</xref> that perhaps the proposed system has demonstrated superior efficacy in predicting cardiac illnesses.</p>
<fig position="float" id="fig5">
<label>Figure 5</label>
<caption>
<p>Validation performance of the proposed model employing Standard 70:30 training and testing datasets.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g005.tif"/>
</fig>
<fig position="float" id="fig6">
<label>Figure 6</label>
<caption>
<p>Validation performance of the RNN using Standard 70:30 training and testing datasets.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g006.tif"/>
</fig>
<fig position="float" id="fig7">
<label>Figure 7</label>
<caption>
<p>Validation performance of the LSTM using Standard 70:30 training and testing datasets.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g007.tif"/>
</fig>
<fig position="float" id="fig8">
<label>Figure 8</label>
<caption>
<p>Validation performance of the GRU using Standard 70:30 training and testing datasets.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g008.tif"/>
</fig>
<p><xref ref-type="fig" rid="fig5">Figures 5</xref>&#x2013;<xref ref-type="fig" rid="fig8">8</xref> provides the validation representation of deep learning model in Fog environment via usage of real-time datasets. For every iterations, average performance of the proposed model ranges from 99.5 to 99.7% whereas the other algorithms has produced little degraded performances ranges from 81% to 85. From these experiments, it is clear that the suggested model performs exceptionally well when it comes to predicting cardiac disease in the Fog-BAN environment. <xref ref-type="fig" rid="fig9">Figures 9</xref>&#x2013;<xref ref-type="fig" rid="fig11">11</xref> illustrates the comparative evaluation of the effectiveness of the various deep learning architecture employed in Fog-gateways with the different iterations of datasets.</p>
<fig position="float" id="fig9">
<label>Figure 9</label>
<caption>
<p>Comparison of the suggested deep learning algorithm&#x2019;s performance with the test datasets&#x2009;=&#x2009;20%.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g009.tif"/>
</fig>
<fig position="float" id="fig10">
<label>Figure 10</label>
<caption>
<p>Comparison of the suggested deep learning algorithm&#x2019;s performance with the test datasets&#x2009;=&#x2009;30%.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g010.tif"/>
</fig>
<fig position="float" id="fig11">
<label>Figure 11</label>
<caption>
<p>Comparison of the suggested deep learning algorithm&#x2019;s performance with the test datasets&#x2009;=&#x2009;40%.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g011.tif"/>
</fig>
<p><xref ref-type="fig" rid="fig9">Figure 9</xref> illustrates how the RNN and LSTM models produced the weakest prediction performances, the suggested model and GRU models produced the most promising results in terms of heart disease prediction. From <xref ref-type="fig" rid="fig9">Figures 9</xref>&#x2013;<xref ref-type="fig" rid="fig11">11</xref>, it is evident that the performance of the other existing algorithm degrades slowly as the number of testing datasets increases while the suggested model has maintained the steady efficiency even though datasets increases. Also, it is clear that when the number of datasets rises from 20 to 40% respectively, the suggested framework and GRU have generated performance that is remarkably similar. But the proposed algorithm has outperformed that the GRU when the number of datasets reaches to 40% which is evident from <xref ref-type="fig" rid="fig11">Figure 11</xref>. Overall, these results show that the most promising performance in predicting heart disease in a fog environment has been achieved by the suggested model, which combines feed forward networks optimized by Chaotic Harris Hawk with self-attention-based gated recurrent networks. To prove the superiority of the proposed model, several meta heuristic algorithms such as particle swarm optimization (PSO), ant colony optimization (ACO), Bat optimization (BAT), FireFly Optimization (FFO), reptile search algorithm (RSA), Spotted Hyena Optimization (SHO), and Harris Hawk Optimization (HHO) are combined with the GRU networks and its performance are evaluated and analyzed. <xref ref-type="table" rid="tab7">Table 6</xref> presents the classification performance of different models.</p>
<table-wrap position="float" id="tab7">
<label>Table 6</label>
<caption>
<p>Classification performance of the different combination of meta-heuristic models in GRU.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Algorithm</th>
<th align="center" valign="top">Accuracy</th>
<th align="center" valign="top">Precision</th>
<th align="center" valign="top">Recall</th>
<th align="center" valign="top">Specificity</th>
<th align="center" valign="top">F1-score</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;PSO</td>
<td align="center" valign="top">0.7289</td>
<td align="center" valign="top">0.712</td>
<td align="center" valign="top">0.702</td>
<td align="center" valign="top">0.703</td>
<td align="center" valign="top">0.702</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;ACO</td>
<td align="center" valign="top">0.72</td>
<td align="center" valign="top">0.702</td>
<td align="center" valign="top">0.69</td>
<td align="center" valign="top">0.70</td>
<td align="center" valign="top">0.70</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;BAT</td>
<td align="center" valign="top">0.75</td>
<td align="center" valign="top">0.734</td>
<td align="center" valign="top">0.72</td>
<td align="center" valign="top">0.71</td>
<td align="center" valign="top">0.72</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;FF</td>
<td align="center" valign="top">0.78</td>
<td align="center" valign="top">0.723</td>
<td align="center" valign="top">0.71</td>
<td align="center" valign="top">0.72</td>
<td align="center" valign="top">0.70</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;RSA</td>
<td align="center" valign="top">0.8499</td>
<td align="center" valign="top">0.82</td>
<td align="center" valign="top">0.812</td>
<td align="center" valign="top">0.80</td>
<td align="center" valign="top">0.82</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;SHO</td>
<td align="center" valign="top">0.86</td>
<td align="center" valign="top">0.812</td>
<td align="center" valign="top">0.802</td>
<td align="center" valign="top">0.81</td>
<td align="center" valign="top">0.802</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;HHO</td>
<td align="center" valign="top">0.89</td>
<td align="center" valign="top">0.843</td>
<td align="center" valign="top">0.820</td>
<td align="center" valign="top">0.82</td>
<td align="center" valign="top">0.834</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;LCHHOA (proposed model)</td>
<td align="center" valign="top">0.986</td>
<td align="center" valign="top">0.973</td>
<td align="center" valign="top">0.956</td>
<td align="center" valign="top">0.965</td>
<td align="center" valign="top">0.970</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>From the <xref ref-type="table" rid="tab7">Table 6</xref>, it is clear that proposed combination has performed better than the other models due to the logistic integration of the different models.</p>
</sec>
<sec id="sec23">
<label>5.2</label>
<title>Model building time analysis</title>
<p>Model Building Times (MBT) for various models across gathered datasets are shown in <xref ref-type="table" rid="tab8">Table 7</xref> with respect to validation. The main reason for evaluating MBT is because training time is an important factor to consider before a model can accurately diagnose cardiac diseases. This will have an immediate influence on the resources used and the performance of the model. Hence, MBT aids in establishing a good balance amongst computational burden and classifier performance. The average MBT for training the suggested model is 1.16&#x2009;s, as shown in the table below, while GRU takes 1.56&#x2009;s, LSTM takes 2.08&#x2009;s, and RNN takes 2.45&#x2009;s. It is clear from the analysis that the suggested model consumes only 1.16&#x2009;s and finds its strong place in designing an effective monitoring system for the cardiac diseases.</p>
<table-wrap position="float" id="tab8">
<label>Table 7</label>
<caption>
<p>Model building time analysis for the different algorithms using real time datasets.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Training:</th>
<th align="center" valign="top" colspan="4">(MBT)-secs</th>
</tr>
<tr>
<th align="left" valign="top">Testing dataset</th>
<th align="center" valign="top">RNN</th>
<th align="center" valign="top">LSTM</th>
<th align="center" valign="top">GRU</th>
<th align="center" valign="top">Proposed model</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">50:50</td>
<td align="center" valign="top">1.73</td>
<td align="center" valign="top">1.62</td>
<td align="center" valign="top">0.90</td>
<td align="center" valign="top">0.63</td>
</tr>
<tr>
<td align="left" valign="top">60:40</td>
<td align="center" valign="top">2.00</td>
<td align="center" valign="top">1.89</td>
<td align="center" valign="top">1.34</td>
<td align="center" valign="top">0.89</td>
</tr>
<tr>
<td align="left" valign="top">70:30</td>
<td align="center" valign="top">2.90</td>
<td align="center" valign="top">2.25</td>
<td align="center" valign="top">1.92</td>
<td align="center" valign="top">1.34</td>
</tr>
<tr>
<td align="left" valign="top">80:20</td>
<td align="center" valign="top">3.20</td>
<td align="center" valign="top">2.56</td>
<td align="center" valign="top">2.09</td>
<td align="center" valign="top">1.78</td>
</tr>
<tr>
<td align="left" valign="top">Average MBT</td>
<td align="center" valign="top">2.45</td>
<td align="center" valign="top">2.08</td>
<td align="center" valign="top">1.56</td>
<td align="center" valign="top">1.16</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec24">
<label>5.3</label>
<title>Experimental outcome analysis</title>
<p>Following the performance evaluation, the outcomes of the various models has been statistically validated. The comprehensive analysis of different models is determined and compared with their own advantages and disadvantages. Addition to the other existing deep learning models, classification outcomes based on the fitness function evaluations over 50 independent runs are illustrated in terms of best, worst, mean, median, standard deviations (SD) and variance are analyzed to prove the stability of the models. Further, indicator function outcomes over 50 runs with the relative stability parameters are experimented. The classification outcomes of the different models with the above mentioned parameters with its stability indicators are shown in <xref ref-type="table" rid="tab9">Tables 8</xref>, <xref ref-type="table" rid="tab10">9</xref>, respectively.</p>
<table-wrap position="float" id="tab9">
<label>Table 8</label>
<caption>
<p>Fitness function based outcomes for the different combinations of GRU.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Algorithm</th>
<th align="center" valign="top">Best</th>
<th align="center" valign="top">Worst</th>
<th align="center" valign="top">Mean</th>
<th align="center" valign="top">Median</th>
<th align="center" valign="top">SD</th>
<th align="center" valign="top">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;PSO</td>
<td align="center" valign="top">0.73490</td>
<td align="center" valign="top">0.65483</td>
<td align="center" valign="top">0.72010</td>
<td align="center" valign="top">0.023912</td>
<td align="center" valign="top">0.067272</td>
<td align="center" valign="top">5.3 &#x00D7; 10<sup>&#x2212;6</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;ACO</td>
<td align="center" valign="top">0.71230</td>
<td align="center" valign="top">0.63490</td>
<td align="center" valign="top">0.69034</td>
<td align="center" valign="top">0.019024</td>
<td align="center" valign="top">0.075343</td>
<td align="center" valign="top">6.3 &#x00D7; 10<sup>&#x2212;6</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;BAT</td>
<td align="center" valign="top">0.75630</td>
<td align="center" valign="top">0.62390</td>
<td align="center" valign="top">0.65372</td>
<td align="center" valign="top">0.034930</td>
<td align="center" valign="top">0.06536</td>
<td align="center" valign="top">4.23 &#x00D7; 10<sup>&#x2212;5</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;FF</td>
<td align="center" valign="top">0.78945</td>
<td align="center" valign="top">0.67890</td>
<td align="center" valign="top">0.71239</td>
<td align="center" valign="top">0.029043</td>
<td align="center" valign="top">0.0534102</td>
<td align="center" valign="top">3.130 &#x00D7; 10<sup>&#x2212;4</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;RSA</td>
<td align="center" valign="top">0.85290</td>
<td align="center" valign="top">0.71012</td>
<td align="center" valign="top">0.73402</td>
<td align="center" valign="top">0.033393</td>
<td align="center" valign="top">0.053242</td>
<td align="center" valign="top">2.902 &#x00D7; 10<sup>&#x2212;4</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;SHO</td>
<td align="center" valign="top">0.86342</td>
<td align="center" valign="top">0.70234</td>
<td align="center" valign="top">0.74022</td>
<td align="center" valign="top">0.045302</td>
<td align="center" valign="top">0.048933</td>
<td align="center" valign="top">2.7829 &#x00D7; 10<sup>&#x2212;4</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;HHO</td>
<td align="center" valign="top">0.89267</td>
<td align="center" valign="top">0.80239</td>
<td align="center" valign="top">0.79340</td>
<td align="center" valign="top">0.059030</td>
<td align="center" valign="top">0.045672</td>
<td align="center" valign="top">2.0839 &#x00D7; 10<sup>&#x2212;4</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;LCHHOA (proposed model)</td>
<td align="center" valign="top">0.98673</td>
<td align="center" valign="top">0.81202</td>
<td align="center" valign="top">0.85640</td>
<td align="center" valign="top">0.068313</td>
<td align="center" valign="top">0.0398303</td>
<td align="center" valign="top">1.28930 &#x00D7; 10<sup>&#x2212;4</sup></td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="tab10">
<label>Table 9</label>
<caption>
<p>Indicator function based outcomes for the different combinations of GRU.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Algorithm</th>
<th align="center" valign="top">Best</th>
<th align="center" valign="top">Worst</th>
<th align="center" valign="top">Mean</th>
<th align="center" valign="top">Median</th>
<th align="center" valign="top">SD</th>
<th align="center" valign="top">Variance</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;PSO</td>
<td align="center" valign="top">0.068932</td>
<td align="center" valign="top">0.005430</td>
<td align="center" valign="top">0.006690</td>
<td align="center" valign="top">0.00673</td>
<td align="center" valign="top">0.0002310</td>
<td align="center" valign="top">6.48 &#x00D7; 10<sup>&#x2212;7</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;ACO</td>
<td align="center" valign="top">0.06734</td>
<td align="center" valign="top">0.005372</td>
<td align="center" valign="top">0.006993</td>
<td align="center" valign="top">0.006890</td>
<td align="center" valign="top">0.0002402</td>
<td align="center" valign="top">5.34 &#x00D7; 10<sup>&#x2212;6</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;BAT</td>
<td align="center" valign="top">0.064320</td>
<td align="center" valign="top">0.0052930</td>
<td align="center" valign="top">0.007093</td>
<td align="center" valign="top">0.006903</td>
<td align="center" valign="top">0.0002406</td>
<td align="center" valign="top">5.893 &#x00D7; 10<sup>&#x2212;5</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;FF</td>
<td align="center" valign="top">0.068230</td>
<td align="center" valign="top">0.0049033</td>
<td align="center" valign="top">0.0070234</td>
<td align="center" valign="top">0.007045</td>
<td align="center" valign="top">0.0002403</td>
<td align="center" valign="top">6.003 &#x00D7; 10<sup>&#x2212;5</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;RSA</td>
<td align="center" valign="top">0.067830</td>
<td align="center" valign="top">0.0048934</td>
<td align="center" valign="top">0.007008</td>
<td align="center" valign="top">0.0070213</td>
<td align="center" valign="top">0.000289</td>
<td align="center" valign="top">6.1290 &#x00D7; 10<sup>&#x2212;5</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;SHO</td>
<td align="center" valign="top">0.068003</td>
<td align="center" valign="top">0.0045363</td>
<td align="center" valign="top">0.007102</td>
<td align="center" valign="top">0.0070231</td>
<td align="center" valign="top">0.000310</td>
<td align="center" valign="top">5.894 &#x00D7; 10<sup>&#x2212;4</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;HHO</td>
<td align="center" valign="top">0.068647</td>
<td align="center" valign="top">0.004890</td>
<td align="center" valign="top">0.007239</td>
<td align="center" valign="top">0.0071902</td>
<td align="center" valign="top">0.0003002</td>
<td align="center" valign="top">5.9034 &#x00D7; 10<sup>&#x2212;4</sup></td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;LCHHOA (proposed model)</td>
<td align="center" valign="top">0.069802</td>
<td align="center" valign="top">0.0049083</td>
<td align="center" valign="top">0.00739</td>
<td align="center" valign="top">0.0072310</td>
<td align="center" valign="top">0.0003201</td>
<td align="center" valign="top">6.904 &#x00D7; 10<sup>&#x2212;4</sup></td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="table" rid="tab9">Tables 8</xref>, <xref ref-type="table" rid="tab10">9</xref> presented the outcome results from the different combinations of GRU networks. From the above tables, it is evident that the proposed model has produced the best outcome in comparison with the other optimization algorithm. The algorithm stability can be observed in the <xref ref-type="fig" rid="fig12">Figure 12</xref>. From the <xref ref-type="fig" rid="fig12">Figure 12</xref>, it is clear that the proposed model has produced the best outcome when compared with the other existing models.</p>
<fig position="float" id="fig12">
<label>Figure 12</label>
<caption>
<p>Box-analysis of the different optimization techniques integrated with the GRU networks.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g012.tif"/>
</fig>
<p>The convergence study of the proposed scheme in compared with the above mentioned schemes for ranging iterations is presented in <xref ref-type="fig" rid="fig13">Figure 13</xref>. From the <xref ref-type="fig" rid="fig13">Figure 13</xref>, it is evident that proposed optimization is grown slightly over the other optimization algorithms. Though the HHO has demonstrated the best performance over the other traditional algorithms, but integration of chaos on HHO has produced the superior performance and finds its best place for tuning the hyper-parameters of the dense training networks.</p>
<fig position="float" id="fig13">
<label>Figure 13</label>
<caption>
<p>Convergence analysis for the different optimization algorithms.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g013.tif"/>
</fig>
<p>To repeat the stability of the proposed model, hyper parameters chosen by the different optimization models are presented in <xref ref-type="table" rid="tab11">Table 10</xref>.</p>
<table-wrap position="float" id="tab11">
<label>Table 10</label>
<caption>
<p>Hyper parameter selection by the different optimization algorithms.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Algorithm</th>
<th align="left" valign="top">No of epochs</th>
<th align="left" valign="top">Hidden layers</th>
<th align="center" valign="top">Learning rate</th>
<th align="center" valign="top">Batch size</th>
<th align="center" valign="top">Max depth</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;PSO</td>
<td align="center" valign="top">392</td>
<td align="center" valign="top">110</td>
<td align="center" valign="top">0.002</td>
<td align="center" valign="top">60</td>
<td align="center" valign="top">9</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;ACO</td>
<td align="center" valign="top">321</td>
<td align="center" valign="top">112</td>
<td align="center" valign="top">0.002</td>
<td align="center" valign="top">59</td>
<td align="center" valign="top">9</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;BAT</td>
<td align="center" valign="top">290</td>
<td align="center" valign="top">109</td>
<td align="center" valign="top">0.002</td>
<td align="center" valign="top">58</td>
<td align="center" valign="top">12</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;FF</td>
<td align="center" valign="top">234</td>
<td align="center" valign="top">106</td>
<td align="center" valign="top">0.002</td>
<td align="center" valign="top">57</td>
<td align="center" valign="top">10</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;RSA</td>
<td align="center" valign="top">230</td>
<td align="center" valign="top">103</td>
<td align="center" valign="top">0.0010</td>
<td align="center" valign="top">57</td>
<td align="center" valign="top">9</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;SHO</td>
<td align="center" valign="top">229</td>
<td align="center" valign="top">102</td>
<td align="center" valign="top">0.0001</td>
<td align="center" valign="top">56</td>
<td align="center" valign="top">8</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;HHO</td>
<td align="center" valign="top">222</td>
<td align="center" valign="top">090</td>
<td align="center" valign="top">0.0001</td>
<td align="center" valign="top">54</td>
<td align="center" valign="top">8</td>
</tr>
<tr>
<td align="left" valign="top">GRU&#x2009;+&#x2009;LCHHOA (proposed model)</td>
<td align="center" valign="top">200</td>
<td align="center" valign="top">084</td>
<td align="center" valign="top">0.0001</td>
<td align="center" valign="top">45</td>
<td align="center" valign="top">6</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec25">
<label>5.4</label>
<title>Statistical outcome validation process</title>
<p>Recently, meta heuristic algorithm in DL optimization demands the outcomes to be statistically validated. To establish the statistically supremacy of the models, various statistical tests are carried out for the different models. For an effective validation of the different models, three statistical criteria has to be met: independence, normality and homoscedasticity. The normality criteria is assessed using the Shapiro&#x2013;Walk Outcomes as shown in <xref ref-type="fig" rid="fig14">Figure 14</xref>.</p>
<fig position="float" id="fig14">
<label>Figure 14</label>
<caption>
<p>Statistical analysis of the different optimization algorithms in GRU.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g014.tif"/>
</fig>
<p>As shown in <xref ref-type="fig" rid="fig14">Figure 14</xref>, all the models have produced the <italic>p</italic> which is less than 0.05 in which the normality test has been passed by all the models. But the proposed model has outperformed all the other existing models and proves its statically superior than the other optimization technique. Furthermore, to add the fuel in the performance of the model, Wilcoxon Signed &#x2013; Rank test has been deployed. This test can be applied to the same data series consisting of the best outcomes achieved in every run of each metaheuristics. The outcome of each and every technique can be visualized in <xref ref-type="fig" rid="fig15">Figure 15</xref>.</p>
<fig position="float" id="fig15">
<label>Figure 15</label>
<caption>
<p>Wilcoxon signed rank algorithms for the different protocols.</p>
</caption>
<graphic xlink:href="frai-07-1354742-g015.tif"/>
</fig>
<p>From the above two figures, its is every clear that logistic chaos based Harris hawk optimization algorithm has outperformed the other models with the lowest <italic>p-</italic>value.</p>
</sec>
</sec>
<sec id="sec26">
<label>6</label>
<title>Conclusion and future scope</title>
<p>In the context of this study, a novel intelligent fog-based healthcare system is developed, which applies fog computing to heart patients and employs deep learning models to diagnose cardiac issues. Using coupling Chaotic Harris Hawk Optimized Feed Forward layers and Self Attention Gated Recurrent Units, the proposed framework combines real-time data collecting with robust deep learning architectures. Accuracy, precision, recall, specificity, and F1-score are just a few of the performance metrics that are calculated and analyzed through extensive studies. The model&#x2019;s detection time during the processing of medical data is also analyzed using MBT. To illustrate how effective the proposed model is, its effectiveness has been measured against a number of contemporary deep learning models. Additionally, the models are verified using real-time statistics collected in an IoT-Fog-BAN scenario. According to the findings, the recommended model outperformed the other models by a wide margin and fits its strong point in the IoT-Fog-BAN Environment for cardiology diagnosis.</p>
<p>Future extensions to the suggested model&#x2019;s scope will enable cost-effective ways to preserve the high QoS (Quality of Services) features. Since the Fog gateways&#x2019; model training demands more computational power, federated decentralized training patterns with less hardware resources can take the place of traditional training methods. These patterns can then be expanded to other domains, including automation, smart homes, and agriculture.</p>
</sec>
<sec sec-type="data-availability" id="sec27">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.</p>
</sec>
<sec sec-type="ethics-statement" id="sec28">
<title>Ethics statement</title>
<p>Ethical approval was not required for the studies involving humans because research that involves anonymous surveys with no personally identifiable information may be considered low-risk and not require formal ethical approval. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants&#x2019; legal guardians/next of kin in accordance with the national legislation and institutional requirements because if the research poses minimal risk to participants, the IRB might waive the requirement for written informed consent. Minimal risk studies are those in which the probability and magnitude of harm or discomfort anticipated are not greater than those ordinarily encountered in daily life or during the performance of routine physical or psychological examinations or tests.</p>
</sec>
<sec sec-type="author-contributions" id="sec29">
<title>Author contributions</title>
<p>RA: Methodology, Writing &#x2013; original draft. PE: Conceptualization, Writing &#x2013; original draft.</p>
</sec>
</body>
<back>
<sec sec-type="funding-information" id="sec30">
<title>Funding</title>
<p>The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.</p>
</sec>
<sec sec-type="COI-statement" id="sec31">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="sec32">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="ref1"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Abdullahi</surname> <given-names>I.</given-names></name> <name><surname>Arif</surname> <given-names>S.</given-names></name> <name><surname>Hassan</surname> <given-names>S.</given-names></name></person-group> (<year>2015</year>). &#x201C;<article-title>Ubiquitous shift with information centric network caching using fog computing</article-title>&#x201D; in <source>Computational intelligence in information systems</source> (<publisher-loc>Cham, Switzerland</publisher-loc>: <publisher-name>Springer</publisher-name>), <fpage>327</fpage>&#x2013;<lpage>335</lpage>.</citation></ref>
<ref id="ref2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Acharya</surname> <given-names>U. R.</given-names></name> <name><surname>Fujita</surname> <given-names>H.</given-names></name> <name><surname>Oh</surname> <given-names>S. L.</given-names></name> <name><surname>Hagiwara</surname> <given-names>Y.</given-names></name> <name><surname>Tan</surname> <given-names>J. H.</given-names></name> <name><surname>Adam</surname> <given-names>M.</given-names></name></person-group> (<year>2017</year>). <article-title>Application of deep convolutional neural network for automated detection of myocardial infarction using ECG signals</article-title>. <source>Inf. Sci.</source> <volume>415&#x2013;416</volume>, <fpage>190</fpage>&#x2013;<lpage>198</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.ins.2017.06.027</pub-id></citation></ref>
<ref id="ref3"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Ali</surname> <given-names>S.</given-names></name> <name><surname>Ghazal</surname> <given-names>M.</given-names></name></person-group>, Real-time heart attack mobile detection service (RHAMDS): an IoT use case for software defined networks, in Proc. IEEE 30th Can. Conf. Electr. Comput. Eng. (CCECE), (<year>2017</year>), <fpage>1</fpage>&#x2013;<lpage>6</lpage>.</citation></ref>
<ref id="ref4"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Alwateer</surname> <given-names>M.</given-names></name> <name><surname>Almars</surname> <given-names>A. M.</given-names></name> <name><surname>Areed</surname> <given-names>K. N.</given-names></name> <name><surname>Elhosseini</surname> <given-names>M. A.</given-names></name> <name><surname>Haikal</surname> <given-names>A. Y.</given-names></name> <name><surname>Badawy</surname> <given-names>M.</given-names></name></person-group> (<year>2021</year>). <article-title>Ambient healthcare approach with hybrid Harris hawk optimization algorithm and Na&#x00EF;ve Bayes classifier</article-title>. <source>Sensors</source> <volume>21</volume>:<fpage>4579</fpage>. doi: <pub-id pub-id-type="doi">10.3390/s21134579</pub-id>, PMID: <pub-id pub-id-type="pmid">34283139</pub-id></citation></ref>
<ref id="ref5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Arooj</surname> <given-names>S.</given-names></name> <name><surname>Rehman</surname> <given-names>S. U.</given-names></name> <name><surname>Imran</surname> <given-names>A.</given-names></name> <name><surname>Almuhaimeed</surname> <given-names>A.</given-names></name> <name><surname>Alzahrani</surname> <given-names>A. K.</given-names></name> <name><surname>Alzahrani</surname> <given-names>A.</given-names></name></person-group> (<year>2022</year>). <article-title>A deep-learning-based approach for the early detection of heart disease</article-title>. <source>Biomedicines</source> <volume>10</volume>:<fpage>2796</fpage>. doi: <pub-id pub-id-type="doi">10.3390/biomedicines10112796</pub-id>, PMID: <pub-id pub-id-type="pmid">36359317</pub-id></citation></ref>
<ref id="ref6"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Azimi</surname> <given-names>I.</given-names></name> <name><surname>Takalo-Mattila</surname> <given-names>J.</given-names></name> <name><surname>Anzanpour</surname> <given-names>A.</given-names></name> <name><surname>Rahmani</surname> <given-names>A. M.</given-names></name> <name><surname>Soininen</surname> <given-names>J.-P.</given-names></name> <name><surname>Liljeberg</surname> <given-names>P.</given-names></name></person-group>, Empowering healthcare IoT systems with hierarchical edge-based deep learning, in Proc. IEEE/ACM Int. Conf. Connected Health, Appl., Syst. Eng. Technol., (<year>2018</year>), <fpage>63</fpage>&#x2013;<lpage>68</lpage>.</citation></ref>
<ref id="ref7"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Basha</surname> <given-names>J.</given-names></name> <name><surname>Bacanin</surname> <given-names>N.</given-names></name> <name><surname>Vukobrat</surname> <given-names>N.</given-names></name> <name><surname>Zivkovic</surname> <given-names>M.</given-names></name> <name><surname>Venkatachalam</surname> <given-names>K.</given-names></name> <name><surname>Hub&#x00E1;lovsk&#x00FD;</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Chaotic Harris hawks optimization with quasi-reflection-based learning: an application to enhance CNN design</article-title>. <source>Sensors</source> <volume>21</volume>:<fpage>6654</fpage>. doi: <pub-id pub-id-type="doi">10.3390/s21196654</pub-id>, PMID: <pub-id pub-id-type="pmid">34640973</pub-id></citation></ref>
<ref id="ref8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bizopoulos</surname> <given-names>P.</given-names></name> <name><surname>Koutsouris</surname> <given-names>D.</given-names></name></person-group> (<year>2019</year>). <article-title>Deep learning in cardiology</article-title>. <source>IEEE Rev. Biomed. Eng.</source> <volume>12</volume>, <fpage>168</fpage>&#x2013;<lpage>193</lpage>. doi: <pub-id pub-id-type="doi">10.1109/RBME.2018.2885714</pub-id></citation></ref>
<ref id="ref9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Buch</surname> <given-names>V. H.</given-names></name> <name><surname>Ahmed</surname> <given-names>I.</given-names></name> <name><surname>Maruthappu</surname> <given-names>M.</given-names></name></person-group> (<year>2018</year>). <article-title>Artificial intelligence in medicine: Current trends and future possibilities</article-title>. <source>Brit. J. Gen. Pract.</source> <volume>68</volume>, <fpage>143</fpage>&#x2013;<lpage>144</lpage>. doi: <pub-id pub-id-type="doi">10.3399/bjgp18X695213</pub-id>, PMID: <pub-id pub-id-type="pmid">29472224</pub-id></citation></ref>
<ref id="ref10"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Datta</surname> <given-names>P.</given-names></name> <name><surname>Sharma</surname> <given-names>B.</given-names></name></person-group>, <article-title>A survey on IoT architectures, protocols, security and smart city based applications</article-title>, in <conf-name>Proc. 8th Int. Conf. Comput., Commun. Netw. Technol. (ICCCNT)</conf-name>, (<year>2017</year>), <fpage>1</fpage>&#x2013;<lpage>5</lpage>.</citation></ref>
<ref id="ref11"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Dehkordi</surname> <given-names>A. A.</given-names></name> <name><surname>Sadiq</surname> <given-names>A. S.</given-names></name> <name><surname>Mirjalili</surname> <given-names>S.</given-names></name> <name><surname>Ghafoor</surname> <given-names>K. Z.</given-names></name></person-group> <source>Nonlinear-based chaotic Harris hawks optimizer: algorithm and internet of vehicles application, applied soft computing</source>, <publisher-name>Elsevier</publisher-name> (<year>2021</year>), <volume>109</volume>:<fpage>107574</fpage>.</citation></ref>
<ref id="ref12"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Devi</surname> <given-names>R. M.</given-names></name> <name><surname>Kuppuswami</surname> <given-names>S.</given-names></name> <name><surname>Suganthe</surname> <given-names>R. C.</given-names></name></person-group> (<year>2013</year>). <article-title>Fast linear adaptive skipping training algorithm for training artificial neural network</article-title>. <source>Math. Probl. Eng.</source> <volume>2013</volume>:<fpage>346949</fpage>,</citation></ref>
<ref id="ref13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gill</surname> <given-names>S. S.</given-names></name> <name><surname>Arya</surname> <given-names>R. C.</given-names></name> <name><surname>Wander</surname> <given-names>G. S.</given-names></name> <name><surname>Buyya</surname> <given-names>R.</given-names></name></person-group> (<year>2018</year>). <article-title>Fog-based smart healthcare as a big data and cloud service for heart patients using IoT</article-title>. <source>Internet Things</source>, <fpage>1376</fpage>&#x2013;<lpage>1383</lpage>. doi: <pub-id pub-id-type="doi">10.1007/978-3-030-03146-6_161</pub-id></citation></ref>
<ref id="ref14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gill</surname> <given-names>S. S.</given-names></name> <name><surname>Garraghan</surname> <given-names>P.</given-names></name> <name><surname>Buyya</surname> <given-names>R.</given-names></name></person-group> (<year>2019</year>). <article-title>ROUTER: Fog enabled cloud based intelligent resource management approach for smart home IoT devices</article-title>. <source>J. Syst. Softw.</source> <volume>154</volume>, <fpage>125</fpage>&#x2013;<lpage>138</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jss.2019.04.058</pub-id></citation></ref>
<ref id="ref15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goyal</surname> <given-names>A.</given-names></name> <name><surname>Narang</surname> <given-names>K.</given-names></name> <name><surname>Ahluwalia</surname> <given-names>G.</given-names></name> <name><surname>Sohal</surname> <given-names>P. M.</given-names></name> <name><surname>Singh</surname> <given-names>B.</given-names></name> <name><surname>Chhabra</surname> <given-names>S. T.</given-names></name> <etal/></person-group>. (<year>2019</year>). <article-title>Seasonal variation in 24 h blood pressure profile in healthy adults&#x2014;A prospective observational study</article-title>. <source>J. Hum. Hypertension</source> <volume>33</volume>, <fpage>626</fpage>&#x2013;<lpage>633</lpage>. doi: <pub-id pub-id-type="doi">10.1038/s41371-019-0173-3</pub-id>, PMID: <pub-id pub-id-type="pmid">30755660</pub-id></citation></ref>
<ref id="ref16"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gupta</surname> <given-names>P.</given-names></name> <name><surname>Chouhan</surname> <given-names>A. V.</given-names></name> <name><surname>Wajeed</surname> <given-names>M. A.</given-names></name> <name><surname>Tiwari</surname> <given-names>S.</given-names></name> <name><surname>Bist</surname> <given-names>S. C. P.</given-names></name> <name><surname>Puri</surname> <given-names>S. C.</given-names></name></person-group> (<year>2023</year>). <article-title>Prediction of health monitoring with deep learning using edge computing</article-title>. <source>Measurement Sensors</source> <volume>25</volume>:<fpage>100604</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.measen.2022.100604</pub-id></citation></ref>
<ref id="ref17"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>He</surname> <given-names>S.</given-names></name> <name><surname>Cheng</surname> <given-names>B.</given-names></name> <name><surname>Wang</surname> <given-names>H.</given-names></name> <name><surname>Huang</surname> <given-names>Y.</given-names></name> <name><surname>Chen</surname> <given-names>J.</given-names></name></person-group> (<year>2017</year>). <article-title>Proactive personalized services through fog- cloud computing in large-scale IoT-based healthcare application</article-title>. <source>China Commun.</source> <volume>14</volume>, <fpage>1</fpage>&#x2013;<lpage>16</lpage>. doi: <pub-id pub-id-type="doi">10.1109/CC.2017.8233646</pub-id></citation></ref>
<ref id="ref18"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hussien</surname> <given-names>A. G.</given-names></name> <name><surname>Abualigah</surname> <given-names>L.</given-names></name> <name><surname>Abu Zitar</surname> <given-names>R.</given-names></name> <name><surname>Hashim</surname> <given-names>F. A.</given-names></name> <name><surname>Amin</surname> <given-names>M.</given-names></name> <name><surname>Saber</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Recent advances in Harris hawks optimization: a comparative study and applications</article-title>. <source>Electronics</source> <volume>11</volume>. doi: <pub-id pub-id-type="doi">10.3390/electronics11121919</pub-id></citation></ref>
<ref id="ref19"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Jenifer</surname> <given-names>A.</given-names></name> <name><surname>Jeba</surname> <given-names>L.</given-names></name> <name><surname>Paulraj</surname> <given-names>L.</given-names></name> <name><surname>Nithish Kumar</surname> <given-names>K.</given-names></name> <name><surname>Yuvaraj</surname> <given-names>T.</given-names></name> <name><surname>Alen</surname> <given-names>G.</given-names></name> <etal/></person-group>. <article-title>Edge-based heart disease prediction device using internet of things</article-title>, <conf-name>2022 International Conference on Applied Artificial Intelligence and Computing (ICAAIC), Salem, India</conf-name>, (<year>2022</year>), <fpage>1500</fpage>&#x2013;<lpage>1504</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ICAAIC53929.2022.9793104</pub-id></citation></ref>
<ref id="ref20"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Juarez-Orozco</surname> <given-names>L. E.</given-names></name> <name><surname>Martinez-Manzanera</surname> <given-names>O.</given-names></name> <name><surname>Van Der Zant</surname> <given-names>F. M.</given-names></name> <name><surname>Knol</surname> <given-names>R. J. J.</given-names></name> <name><surname>Knuuti</surname> <given-names>J.</given-names></name></person-group> <article-title>241 deep learning in quantitative PET myocardial perfusion imaging to predict adverse cardiovascular events</article-title>, <source>Eur. Heart J., Cardiovascular Imag</source>, (<year>2020</year>), <volume>13</volume>, <fpage>180</fpage>&#x2013;<lpage>182</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jcmg.2019.08.009</pub-id></citation></ref>
<ref id="ref21"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Krishnan</surname> <given-names>S.</given-names></name> <name><surname>Magalingam</surname> <given-names>P.</given-names></name> <name><surname>Ibrahim</surname> <given-names>R.</given-names></name></person-group> (<year>2021</year>). <article-title>Hybrid deep learning model using recurrent neural network and gated recurrent unit for heart disease prediction</article-title>. <source>Int. J. Electr. Comput. Eng.</source> <volume>11</volume>, <fpage>5467</fpage>&#x2013;<lpage>5476</lpage>. doi: <pub-id pub-id-type="doi">10.11591/ijece.v11i6.pp5467-5476</pub-id></citation></ref>
<ref id="ref22"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Lavanya</surname> <given-names>R.</given-names></name> <name><surname>Vidyabharathi</surname> <given-names>D.</given-names></name> <name><surname>Kumar</surname> <given-names>S.S.</given-names></name> <name><surname>Mali</surname> <given-names>M.</given-names></name> <name><surname>Arunkumar</surname> <given-names>S.S</given-names></name> <name><surname>Aravinth</surname> <given-names>Md</given-names></name></person-group>, et al. <article-title>Wearable sensor-based edge computing framework for cardiac arrhythmia detection and acute stroke prediction</article-title>, <source>J. Sens.</source>, (<year>2023</year>), <fpage>3082870</fpage>, <volume>2023</volume>, <fpage>9</fpage>. doi: <pub-id pub-id-type="doi">10.1155/2023/3082870</pub-id></citation></ref>
<ref id="ref23"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lim</surname> <given-names>T.-S.</given-names></name> <name><surname>Loh</surname> <given-names>W.-Y.</given-names></name> <name><surname>Shih</surname> <given-names>Y.-S.</given-names></name></person-group> (<year>2000</year>). <article-title>A comparison of prediction accuracy, complexity, and training time of thirty-three old and new classification algorithms</article-title>. <source>Mach. Learn.</source> <volume>40</volume>, <fpage>203</fpage>&#x2013;<lpage>228</lpage>. doi: <pub-id pub-id-type="doi">10.1023/A:1007608224229</pub-id></citation></ref>
<ref id="ref24"><citation citation-type="confproc"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>M.</given-names></name> <name><surname>Kim</surname> <given-names>Y.</given-names></name></person-group>, <article-title>Classification of heart diseases based on ECG signals using long short-term memory</article-title>, <conf-name>2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC)</conf-name>, <publisher-loc>Honolulu, HI</publisher-loc>, (<year>2018</year>), <fpage>2707</fpage>&#x2013;<lpage>2710</lpage>. doi: <pub-id pub-id-type="doi">10.1109/EMBC.2018.8512761</pub-id></citation></ref>
<ref id="ref25"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mansour</surname> <given-names>R.</given-names></name> <name><surname>Amraoui</surname> <given-names>A.</given-names></name> <name><surname>Nouaouri</surname> <given-names>I.</given-names></name> <name><surname>Diaz</surname> <given-names>V.</given-names></name> <name><surname>Gupta</surname> <given-names>D.</given-names></name> <name><surname>Kumar</surname> <given-names>S.</given-names></name></person-group> (<year>2021</year>). <article-title>Artificial intelligence and internet of things enabled disease diagnosis model for smart healthcare systems</article-title>. <source>IEEE Access.</source> <volume>9</volume>, <fpage>45137</fpage>&#x2013;<lpage>45146</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2021.3066365</pub-id></citation></ref>
<ref id="ref26"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Minh</surname> <given-names>Q. T.</given-names></name> <name><surname>Thai</surname> <given-names>D. T.</given-names></name> <name><surname>Phung</surname> <given-names>P. H.</given-names></name> <name><surname>Huu</surname> <given-names>P. N.</given-names></name></person-group> (<year>2022</year>). <article-title>Fog-enabled IoT framework for heart disease diagnosis systems</article-title>. <source>J. Mobile Multimed.</source> <volume>19</volume>. doi: <pub-id pub-id-type="doi">10.13052/jmm1550-4646.1922</pub-id></citation></ref>
<ref id="ref27"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mutlag</surname> <given-names>A. A.</given-names></name> <name><surname>Ghani</surname> <given-names>M. K. A.</given-names></name> <name><surname>Arunkumar</surname> <given-names>N.</given-names></name> <name><surname>Mohammed</surname> <given-names>M. A.</given-names></name> <name><surname>Mohd</surname> <given-names>O.</given-names></name></person-group> (<year>2019</year>). <article-title>Enabling technologies for fog computing in healthcare IoT systems</article-title>. <source>Future Gener. Comput. Syst.</source> <volume>90</volume>, <fpage>62</fpage>&#x2013;<lpage>78</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.future.2018.07.049</pub-id></citation></ref>
<ref id="ref28"><citation citation-type="book"><person-group person-group-type="author"><name><surname>Muttaqin</surname> <given-names>M.</given-names></name> <name><surname>Meida</surname> <given-names>U.</given-names></name> <name><surname>Andre</surname> <given-names>F.</given-names></name> <name><surname>Amir</surname> <given-names>F.</given-names></name> <name><surname>Agung</surname> <given-names>S.</given-names></name> <name><surname>Bagas</surname> <given-names>P.</given-names></name> <etal/></person-group>. (<year>2023</year>). <source>CNN classification of malaria parasites in digital microscope images using python on raspberry pi</source>, <publisher-name>Buletin Ilmiah Sarjana Teknik Elektro</publisher-name>. <volume>5</volume>, <fpage>108</fpage>&#x2013;<lpage>120</lpage>. doi: <pub-id pub-id-type="doi">10.12928/biste.v5i1.7522</pub-id></citation></ref>
<ref id="ref29"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nancy</surname> <given-names>A. A.</given-names></name> <name><surname>Ravindran</surname> <given-names>D.</given-names></name> <name><surname>Raj Vincent</surname> <given-names>P. M. D.</given-names></name> <name><surname>Srinivasan</surname> <given-names>K.</given-names></name> <name><surname>Gutierrez Reina</surname> <given-names>D.</given-names></name></person-group> (<year>2022</year>). <article-title>IoT-cloud-based smart healthcare monitoring system for heart disease prediction via deep learning</article-title>. <source>Electronics</source> <volume>11</volume>:<fpage>2292</fpage>. doi: <pub-id pub-id-type="doi">10.3390/electronics11152292</pub-id></citation></ref>
<ref id="ref30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Panch</surname> <given-names>T.</given-names></name> <name><surname>Mattie</surname> <given-names>H.</given-names></name> <name><surname>Celi</surname> <given-names>L. A.</given-names></name></person-group> (<year>2019</year>). <article-title>The &#x2018;inconvenient truth&#x2019; about AI in healthcare</article-title>. <source>NPJ Digit. Med.</source> <volume>2</volume>, <fpage>1</fpage>&#x2013;<lpage>3</lpage>. doi: <pub-id pub-id-type="doi">10.1038/s41746-019-0155-4</pub-id></citation></ref>
<ref id="ref31"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Priyanga</surname> <given-names>P.</given-names></name> <name><surname>Pattankar</surname> <given-names>V. V.</given-names></name> <name><surname>Sridevi</surname> <given-names>S.</given-names></name></person-group> (<year>2021</year>). <article-title>A hybrid recurrent neural network-logistic chaos-based Harris hawk optimization framework for heart disease prediction with electronic health records</article-title>. <source>Comput. Intellig.</source> <volume>37</volume>, <fpage>315</fpage>&#x2013;<lpage>343</lpage>. doi: <pub-id pub-id-type="doi">10.1111/coin.12405</pub-id></citation></ref>
<ref id="ref32"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rajkumar</surname> <given-names>G.</given-names></name> <name><surname>Gayathri Devi</surname> <given-names>T.</given-names></name> <name><surname>Srinivasan</surname> <given-names>A.</given-names></name></person-group> (<year>2023</year>). <article-title>Heart disease prediction using IoT based framework and improved deep learning approach: medical application</article-title>. <source>Med. Eng. Physics</source> <volume>111</volume>:<fpage>103937</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.medengphy.2022.103937</pub-id>, PMID: <pub-id pub-id-type="pmid">36564242</pub-id></citation></ref>
<ref id="ref33"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Raju</surname> <given-names>K. B.</given-names></name> <name><surname>Dara</surname> <given-names>S.</given-names></name> <name><surname>Vidyarthi</surname> <given-names>A.</given-names></name> <name><surname>Gupta</surname> <given-names>V. M.</given-names></name> <name><surname>Khan</surname> <given-names>B.</given-names></name></person-group> (<year>2022</year>). <article-title>Smart Heart disease prediction system with IoT and fog computing sectors enabled by cascaded deep learning model</article-title>. <source>Comput. Intellig. Neurosci.</source> <volume>2022</volume>:<fpage>1070697</fpage>, <fpage>1</fpage>&#x2013;<lpage>22</lpage>. doi: <pub-id pub-id-type="doi">10.1155/2022/1070697</pub-id>, PMID: <pub-id pub-id-type="pmid">35047027</pub-id></citation></ref>
<ref id="ref34"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ramasamy</surname> <given-names>M. D.</given-names></name> <name><surname>Periasamy</surname> <given-names>K.</given-names></name> <name><surname>Krishnasamy</surname> <given-names>L.</given-names></name> <name><surname>Dhanaraj</surname> <given-names>R. K.</given-names></name> <name><surname>Kadry</surname> <given-names>S.</given-names></name> <name><surname>Nam</surname> <given-names>Y.</given-names></name></person-group> (<year>2021</year>). <article-title>Multi-disease classification model using Strassen's half of threshold (SHoT) training algorithm in healthcare sector</article-title>. <source>IEEE Access</source> <volume>9</volume>, <fpage>112624</fpage>&#x2013;<lpage>112636</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2021.3103746</pub-id></citation></ref>
<ref id="ref35"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sarmah</surname> <given-names>S. S.</given-names></name></person-group> (<year>2020</year>). <article-title>An efficient IoT-based patient monitoring and heart disease prediction system using deep learning modified neural network</article-title>. <source>IEEE Access</source> <volume>8</volume>, <fpage>135784</fpage>&#x2013;<lpage>135797</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2020.3007561</pub-id></citation></ref>
<ref id="ref36"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sarosh</surname> <given-names>P.</given-names></name> <name><surname>Parah</surname> <given-names>S. A.</given-names></name> <name><surname>Bhat</surname> <given-names>G. M.</given-names></name></person-group> (<year>2022</year>). <article-title>An efficient image encryption scheme for healthcare applications</article-title>. <source>Multimed Tools Appl.</source> <volume>81</volume>, <fpage>7253</fpage>&#x2013;<lpage>7270</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s11042-021-11812-0</pub-id>, PMID: <pub-id pub-id-type="pmid">35095330</pub-id></citation></ref>
<ref id="ref37"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Satyanarayanan</surname> <given-names>M.</given-names></name></person-group> (<year>2017</year>). <article-title>The emergence of edge computing</article-title>. <source>Computer</source> <volume>50</volume>, <fpage>30</fpage>&#x2013;<lpage>39</lpage>. doi: <pub-id pub-id-type="doi">10.1109/MC.2017.9</pub-id></citation></ref>
<ref id="ref38"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shou</surname> <given-names>L.</given-names></name> <name><surname>Huang</surname> <given-names>W. W.</given-names></name> <name><surname>Barszczyk</surname> <given-names>A.</given-names></name> <name><surname>Wu</surname> <given-names>S. J.</given-names></name> <name><surname>Han</surname> <given-names>H.</given-names></name> <name><surname>Waese-Perlman</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Blood biomarkers predict cardiac workload using machine learning</article-title>. <source>BioMed Res. International</source> <volume>2021</volume>:<fpage>6172815</fpage>, <fpage>1</fpage>&#x2013;<lpage>5</lpage>. doi: <pub-id pub-id-type="doi">10.1155/2021/6172815</pub-id>, PMID: <pub-id pub-id-type="pmid">34159195</pub-id></citation></ref>
<ref id="ref39"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Srinivasu</surname> <given-names>P. N.</given-names></name> <name><surname>Ijaz</surname> <given-names>M. F.</given-names></name> <name><surname>Shafi</surname> <given-names>J.</given-names></name> <name><surname>Wo&#x017A;niak</surname> <given-names>M.</given-names></name> <name><surname>Sujatha</surname> <given-names>R.</given-names></name></person-group> (<year>2022</year>). <article-title>6G driven fast computational networking framework for healthcare applications</article-title>. <source>IEEE Access</source> <volume>10</volume>, <fpage>94235</fpage>&#x2013;<lpage>94248</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2022.3203061</pub-id></citation></ref>
<ref id="ref40"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tair</surname> <given-names>M.</given-names></name> <name><surname>Bacanin</surname> <given-names>N.</given-names></name> <name><surname>Zivkovic</surname> <given-names>M.</given-names></name> <name><surname>Venkatachalam</surname> <given-names>K.</given-names></name></person-group> (<year>2022</year>). <article-title>A chaotic oppositional whale optimisation algorithm with firefly search for medical diagnostics</article-title>. <source>Comput. Mat. Continua</source> <volume>72</volume>, <fpage>959</fpage>&#x2013;<lpage>982</lpage>. doi: <pub-id pub-id-type="doi">10.32604/cmc.2022.024989</pub-id></citation></ref>
<ref id="ref41"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Venkatesan</surname> <given-names>M.</given-names></name> <name><surname>Lakshmipathy</surname> <given-names>P.</given-names></name> <name><surname>Vijayan</surname> <given-names>V.</given-names></name> <name><surname>Sundar</surname> <given-names>R.</given-names></name></person-group> (<year>2022</year>). <article-title>Cardiac disease diagnosis using feature extraction and machine learning based classification with Internet of Things(IoT)</article-title>. <source>Concurr Comput</source> <volume>34</volume>. doi: <pub-id pub-id-type="doi">10.1002/cpe.6622</pub-id></citation></ref>
<ref id="ref42"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Verma</surname> <given-names>P.</given-names></name> <name><surname>Tiwari</surname> <given-names>D. R.</given-names></name> <name><surname>Hong</surname> <given-names>W.-C.</given-names></name> <name><surname>Upadhyay</surname> <given-names>S.</given-names></name> <name><surname>Yeh</surname> <given-names>Y.-H.</given-names></name></person-group> (<year>2022</year>). <article-title>FETCH: a deep learning-based fog computing and IoT integrated environment for healthcare monitoring and diagnosis</article-title>. <source>IEEE Access.</source> <volume>10</volume>, <fpage>12548</fpage>&#x2013;<lpage>12563</lpage>. doi: <pub-id pub-id-type="doi">10.1109/ACCESS.2022.3143793</pub-id></citation></ref>
<ref id="ref43"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Waris</surname> <given-names>S.</given-names></name> <name><surname>Koteeswaran</surname> <given-names>S.</given-names></name></person-group> (<year>2022</year>). <article-title>An investigation on disease diagnosis and prediction by using modified K-mean clustering and combined CNN and ELM classification techniques</article-title>. <source>Int. J. Communicat. Net. Inform. Sec.</source> <volume>14</volume>, <fpage>167</fpage>&#x2013;<lpage>176</lpage>. doi: <pub-id pub-id-type="doi">10.17762/ijcnis.v14i1s.5639</pub-id></citation></ref>
</ref-list>
</back>
</article>