<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">jamp</journal-id>
      <journal-title-group>
        <journal-title>Journal of Applied Mathematics and Physics</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2327-4379</issn>
      <issn pub-type="ppub">2327-4352</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/jamp.2026.1411245</article-id>
      <article-id pub-id-type="publisher-id">jamp-155801</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Physics</subject>
          <subject>Mathematics</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Data Transmission Reduction in IoT Wireless Sensor Network</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Ibrahima</surname>
            <given-names>Abdoulaye Ali</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Saley</surname>
            <given-names>Bisso</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Department Sciences Exactes, Andre Salifou University of Zinder, Zinder, Niger </aff>
      <aff id="aff2"><label>2</label> Department Mathématique et informatique, Abdou Moumouni University of Niamey, Niamey, Niger </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest regarding the publication of this paper.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>05</day>
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>11</month>
        <year>2026</year>
      </pub-date>
      <volume>14</volume>
      <issue>11</issue>
      <fpage>5049</fpage>
      <lpage>5060</lpage>
      <history>
        <date date-type="received">
          <day>27</day>
          <month>08</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>27</day>
          <month>11</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>30</day>
          <month>11</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/jamp.2026.1411245">https://doi.org/10.4236/jamp.2026.1411245</self-uri>
      <abstract>
        <p>A Wireless Sensor Network (WSN) is a collection of spatially separated and specialized sensors that work together to monitor, record, and transmit information about the physical state of the environment to an internet-based location. In order to improve WSN power consumption, this work proposes a classification technique where K nearest neighborhood was applied in those clusters to select the best nodes. The purpose of the classification technique is to divide the network into various node-groupings. We calculated the correlation matrix for one node in each group and cluster, and we also applied the RNN model to get a better prediction within each node in each cluster, so only one node of data will be sent from each cluster to the base station. Furthermore, the experimental results reveals that, based on a suitable choice of nodes, our proposed model perform accurate predictions, with minimum error measured using the Root Mean Squared Error (RMSE) as compared to related work. The radio-energy transmission model used in this work also show that our proposed model is able to save two times more energy, than most of the existing data transmission models.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Data Transmission Model</kwd>
        <kwd>IoT</kwd>
        <kwd>Wireless Sensor Network</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>The Internet of Things (IoT) is experiencing rapid growth and transforming our society through the connection of numerous devices to the internet. It facilitates access to information, automates tasks, and improves operations in various fields. It thus represents a major technological evolution towards a world where objects and people will be increasingly interconnected [<xref ref-type="bibr" rid="B1">1</xref>]. The Internet of Things (IoT) will enable the connection of a vast number of objects to the Internet, exceeding the number of connected human users. These objects will be able to communicate and exchange data automatically, without human intervention [<xref ref-type="bibr" rid="B2">2</xref>]. The IoT thus constitutes a global, intelligent, and autonomous network enabling the interconnection of physical and virtual objects through standardized communication technologies [<xref ref-type="bibr" rid="B3">3</xref>]. The Internet of Things (IoT) refers to objects equipped with smart technologies capable of communicating and interacting with their environment [<xref ref-type="bibr" rid="B4">4</xref>]. Through wireless networks and the internet, it facilitates tracking, location, and the automatic exchange of data between people and objects. This technology is developing rapidly and generating increasing interest in scientific, economic, and academic fields [<xref ref-type="bibr" rid="B5">5</xref>]. The Internet of Things (IoT) represents a technological evolution that integrates the physical and digital worlds through smart objects and connected sensors. These devices collect, process, and transmit data via wireless or wired networks. However, their operation requires significant energy consumption. Therefore, the use of energy-efficient networks is essential to reduce costs, pollution, and extend the operating life of IoT devices [<xref ref-type="bibr" rid="B6">6</xref>]. The Internet of Things (IoT) enables the connection and remote control of electronic devices via the Internet [<xref ref-type="bibr" rid="B7">7</xref>] to facilitate their use and management. The Internet was born in 1989, and since then people have been connecting more and more “things” to the Internet [<xref ref-type="bibr" rid="B8">8</xref>]. Its development dates back to the 1990s, with John Romkey’s creation of an Internet-controllable toaster in 1990. In 1999, Kevin Ashton introduced the concept of IoT, which aims to connect everyday objects to make our environment smarter and more automated [<xref ref-type="bibr" rid="B9">9</xref>].</p>
      <p>Data Storage: The cloud allows for the remote storage and processing of data from IoT systems, while making it accessible via the internet. This facilitates information management and the use of connected services. For example, Alexa uses cloud applications like Google Maps to provide information on news, weather, and traffic.IoT and Cloud Computing: IoT relies on connecting intelligent machines and sensors via the Internet to exchange data and services. Cloud Computing complements this technology by offering significant storage, processing power and access to data at any time and from any device. Their combination thus improves the performance and efficiency of IoT systems [<xref ref-type="bibr" rid="B10">10</xref>].The main objective of this project is to develop a machine learning model that predicts sensor data within each cluster. Data is then transmitted to the base station only when the difference between the predicted and measured values exceeds a predefined threshold. This approach reduces unnecessary transmissions and conserves energy on the WSN network.</p>
    </sec>
    <sec id="sec2">
      <title>2. Mathematical Formulation Problem in Data Transmission</title>
      <p>In the following, we formulate the data transmission problem based on the knowledge clustering algorithm. The mathematical proposal presents the set of parameters necessary for our problem formulation <bold>Table 1</bold>. Consider k-nodes spatially distributed across the coverage area defined in equation</p>
      <disp-formula id="FD1">
        <label>(1)</label>
        <mml:math>
          <mml:mrow>
            <mml:mi mathvariant="double-struck">S</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:msub>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>{</mml:mo>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>n</mml:mi>
                      <mml:mi>i</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                  <mml:mo>}</mml:mo>
                </mml:mrow>
              </mml:mrow>
              <mml:mrow>
                <mml:mn>0</mml:mn>
                <mml:mo>≤</mml:mo>
                <mml:mi>i</mml:mi>
                <mml:mo>≤</mml:mo>
                <mml:mi>N</mml:mi>
              </mml:mrow>
            </mml:msub>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mtext>where</mml:mtext>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>n</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
                <mml:mo>=</mml:mo>
                <mml:mtext>node</mml:mtext>
                <mml:mtext>
                   
                </mml:mtext>
                <mml:mi>i</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p><inline-formula><mml:math><mml:mi mathvariant="double-struck"> S </mml:mi></mml:math></inline-formula> is the set of sensor nodes. Intuitively the clustering function <italic>H</italic> maps the node <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> n </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to a cluster <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> C </mml:mi><mml:mi> k </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (as presented in Equation (2)) where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> C </mml:mi><mml:mi> k </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is a subset of nodes in <inline-formula><mml:math><mml:mi mathvariant="double-struck"> S </mml:mi></mml:math></inline-formula> .</p>
      <disp-formula id="FD2">
        <label>(2)</label>
        <mml:math>
          <mml:mrow>
            <mml:mi>H</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>n</mml:mi>
                  <mml:mi>i</mml:mi>
                </mml:msub>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:msub>
              <mml:mi>C</mml:mi>
              <mml:mi>k</mml:mi>
            </mml:msub>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Summarily, let <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> n </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> be the node <italic>i</italic>, then, <inline-formula><mml:math><mml:mrow><mml:mo> ∃ </mml:mo><mml:mtext>   </mml:mtext><mml:mi> k </mml:mi></mml:mrow></mml:math></inline-formula> such that <inline-formula><mml:math><mml:mrow><mml:mi> H </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msub><mml:mi> n </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow><mml:mo> ) </mml:mo></mml:mrow><mml:mo> = </mml:mo><mml:msub><mml:mi> C </mml:mi><mml:mi> k </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> .</p>
      <p><bold>Table 1.</bold> Notations used in the model.</p>
      <table-wrap id="tbl1">
        <label>Table 1</label>
        <table>
          <tbody>
            <tr>
              <td>Variables</td>
              <td>Descriptions</td>
            </tr>
            <tr>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mi mathvariant="double-struck">S</mml:mi>
                  </mml:math>
                </inline-formula>
              </td>
              <td>Set of sensor nodes across the WSNs</td>
            </tr>
            <tr>
              <td>
                <italic>H</italic>
              </td>
              <td>Clustering function</td>
            </tr>
            <tr>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>n</mml:mi>
                        <mml:mi>i</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                node
                <italic>i</italic>
              </td>
            </tr>
            <tr>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>C</mml:mi>
                        <mml:mi>k</mml:mi>
                      </mml:msub>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>
                Cluster
                <italic>k</italic>
              </td>
            </tr>
            <tr>
              <td>
                <italic>k</italic>
              </td>
              <td>natural numbers</td>
            </tr>
            <tr>
              <td>
                <italic>N</italic>
              </td>
              <td>number of sensors</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p><bold>The Radio Energy Transmission Model</bold></p>
      <p>The main objective is to improve the energy efficiency of WSNs in order to reduce energy consumption and extend the network’s lifespan. To achieve this, a radio model is used to calculate the energy required for data transmission, taking into account the operating states of sensors and communication equipment. This model also allows for the estimation of the energy consumption of each network node.</p>
      <disp-formula id="FD3">
        <label>(3)</label>
        <mml:math display="inline">
          <mml:mrow>
            <mml:msub>
              <mml:mi>E</mml:mi>
              <mml:mrow>
                <mml:mi>T</mml:mi>
                <mml:mi>X</mml:mi>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mi>l</mml:mi>
                    <mml:mo>,</mml:mo>
                    <mml:mi>d</mml:mi>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mo>{</mml:mo>
              <mml:mrow>
                <mml:mtable columnalign="left">
                  <mml:mtr columnalign="left">
                    <mml:mtd columnalign="left">
                      <mml:mrow>
                        <mml:mi>l</mml:mi>
                        <mml:msub>
                          <mml:mi>e</mml:mi>
                          <mml:mrow>
                            <mml:mi>e</mml:mi>
                            <mml:mi>l</mml:mi>
                            <mml:mi>e</mml:mi>
                            <mml:mi>c</mml:mi>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>+</mml:mo>
                        <mml:msub>
                          <mml:mi>l</mml:mi>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>ϵ</mml:mi>
                              <mml:mrow>
                                <mml:mi>f</mml:mi>
                                <mml:mi>s</mml:mi>
                              </mml:mrow>
                            </mml:msub>
                          </mml:mrow>
                        </mml:msub>
                        <mml:msup>
                          <mml:mi>d</mml:mi>
                          <mml:mn>2</mml:mn>
                        </mml:msup>
                        <mml:mo>,</mml:mo>
                      </mml:mrow>
                    </mml:mtd>
                    <mml:mtd columnalign="left">
                      <mml:mrow>
                        <mml:mtext>si</mml:mtext>
                        <mml:mtext>
                           
                        </mml:mtext>
                        <mml:mi>d</mml:mi>
                        <mml:mo>&lt;</mml:mo>
                        <mml:msub>
                          <mml:mi>d</mml:mi>
                          <mml:mn>0</mml:mn>
                        </mml:msub>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                  <mml:mtr columnalign="left">
                    <mml:mtd columnalign="left">
                      <mml:mrow>
                        <mml:mi>l</mml:mi>
                        <mml:msub>
                          <mml:mi>e</mml:mi>
                          <mml:mrow>
                            <mml:mi>e</mml:mi>
                            <mml:mi>l</mml:mi>
                            <mml:mi>e</mml:mi>
                            <mml:mi>c</mml:mi>
                          </mml:mrow>
                        </mml:msub>
                        <mml:mo>+</mml:mo>
                        <mml:msub>
                          <mml:mi>l</mml:mi>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>ϵ</mml:mi>
                              <mml:mrow>
                                <mml:mi>a</mml:mi>
                                <mml:mi>m</mml:mi>
                                <mml:mi>p</mml:mi>
                              </mml:mrow>
                            </mml:msub>
                          </mml:mrow>
                        </mml:msub>
                        <mml:msup>
                          <mml:mi>d</mml:mi>
                          <mml:mn>4</mml:mn>
                        </mml:msup>
                        <mml:mo>,</mml:mo>
                      </mml:mrow>
                    </mml:mtd>
                    <mml:mtd columnalign="left">
                      <mml:mrow>
                        <mml:mtext>si</mml:mtext>
                        <mml:mtext>
                           
                        </mml:mtext>
                        <mml:mi>d</mml:mi>
                        <mml:mo>≥</mml:mo>
                        <mml:msub>
                          <mml:mi>d</mml:mi>
                          <mml:mn>0</mml:mn>
                        </mml:msub>
                      </mml:mrow>
                    </mml:mtd>
                  </mml:mtr>
                </mml:mtable>
              </mml:mrow>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mrow><mml:mi> e </mml:mi><mml:mi> l </mml:mi><mml:mi> e </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> defines the energy dispersed per bit of the transmitter.</p>
      <p><inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ϵ </mml:mi><mml:mrow><mml:mi> f </mml:mi><mml:mi> s </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> ϵ </mml:mi><mml:mrow><mml:mi> a </mml:mi><mml:mi> m </mml:mi><mml:mi> p </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is based on the transmitter amplifier model used (<bold>Table 2</bold>).</p>
      <p><inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> E </mml:mi><mml:mrow><mml:mi> T </mml:mi><mml:mi> X </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> : required energy utilization for packet transmission.</p>
      <p><inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> e </mml:mi><mml:mrow><mml:mi> e </mml:mi><mml:mi> l </mml:mi><mml:mi> e </mml:mi><mml:mi> c </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> : is electronic energy that counts on the filtering, modulation the digital coding and spreading of signal.</p>
      <disp-formula id="FD4">
        <label>(4)</label>
        <mml:math>
          <mml:mrow>
            <mml:msub>
              <mml:mi>d</mml:mi>
              <mml:mn>0</mml:mn>
            </mml:msub>
            <mml:mo>=</mml:mo>
            <mml:msqrt>
              <mml:mrow>
                <mml:mfrac>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>ϵ</mml:mi>
                      <mml:mrow>
                        <mml:mi>f</mml:mi>
                        <mml:mi>s</mml:mi>
                      </mml:mrow>
                    </mml:msub>
                  </mml:mrow>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>ϵ</mml:mi>
                      <mml:mrow>
                        <mml:mi>a</mml:mi>
                        <mml:mi>m</mml:mi>
                        <mml:mi>p</mml:mi>
                      </mml:mrow>
                    </mml:msub>
                  </mml:mrow>
                </mml:mfrac>
              </mml:mrow>
            </mml:msqrt>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p><bold>Table 2.</bold> Parameters used sensor network, energy consumption.</p>
      <table-wrap id="tbl2">
        <label>Table 2</label>
        <table>
          <tbody>
            <tr>
              <td>Variable</td>
              <td>Instructions</td>
            </tr>
            <tr>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>d</mml:mi>
                        <mml:mn>0</mml:mn>
                      </mml:msub>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>distance threshold value</td>
            </tr>
            <tr>
              <td>
                <inline-formula>
                  <mml:math>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>E</mml:mi>
                        <mml:mrow>
                          <mml:mi>e</mml:mi>
                          <mml:mi>l</mml:mi>
                          <mml:mi>e</mml:mi>
                          <mml:mi>c</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                  </mml:math>
                </inline-formula>
              </td>
              <td>circuit energy consumption</td>
            </tr>
            <tr>
              <td>
                <inline-formula>
                  <mml:math display="inline">
                    <mml:mi>l</mml:mi>
                  </mml:math>
                </inline-formula>
              </td>
              <td>number of cluster heads</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
    </sec>
    <sec id="sec3">
      <title>3. Building the K Nearest Neighbours Model</title>
      <p>KNN (K-Nearest Neighbors) is a supervised learning algorithm used for classification and regression. It uses the distance between data points to identify the K nearest neighbors. In classification, it assigns a data point the majority class of its neighbors, while in regression, it calculates the average of their values. Therefore, choosing the right number of K is crucial for obtaining good results.</p>
    </sec>
    <sec id="sec4">
      <title>4. Distance Metrics</title>
      <p>Euclidean distance is a commonly used distance function for continuous variables in KNN. Using the below formula, it measures a straight line between the query point and the other point being measured from the datasets.</p>
      <p>Consider an inner product space <inline-formula><mml:math><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:mi> V </mml:mi><mml:mo> , </mml:mo><mml:mrow><mml:mo> 〈 </mml:mo><mml:mrow><mml:mo> . </mml:mo><mml:mo> , </mml:mo><mml:mo> . </mml:mo></mml:mrow><mml:mo> 〉 </mml:mo></mml:mrow></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> . Then</p>
      <disp-formula id="FD5">
        <label>(5)</label>
        <mml:math>
          <mml:mrow>
            <mml:mi>d</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:mi>x</mml:mi>
                <mml:mo>,</mml:mo>
                <mml:mi>y</mml:mi>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>:</mml:mo>
            <mml:mo>=</mml:mo>
            <mml:mrow>
              <mml:mo>‖</mml:mo>
              <mml:mrow>
                <mml:mi>x</mml:mi>
                <mml:mo>−</mml:mo>
                <mml:mi>y</mml:mi>
              </mml:mrow>
              <mml:mo>‖</mml:mo>
            </mml:mrow>
            <mml:mo>=</mml:mo>
            <mml:msqrt>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>〈</mml:mo>
                  <mml:mrow>
                    <mml:mi>x</mml:mi>
                    <mml:mo>−</mml:mo>
                    <mml:mi>y</mml:mi>
                    <mml:mo>,</mml:mo>
                    <mml:mi>x</mml:mi>
                    <mml:mo>−</mml:mo>
                    <mml:mi>y</mml:mi>
                  </mml:mrow>
                  <mml:mo>〉</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msqrt>
            <mml:mo>=</mml:mo>
            <mml:msqrt>
              <mml:mrow>
                <mml:munderover>
                  <mml:mstyle mathsize="140%" displaystyle="true">
                    <mml:mo>∑</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:msup>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>x</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                        <mml:mo>−</mml:mo>
                        <mml:msub>
                          <mml:mi>y</mml:mi>
                          <mml:mi>i</mml:mi>
                        </mml:msub>
                      </mml:mrow>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                  <mml:mn>2</mml:mn>
                </mml:msup>
              </mml:mrow>
            </mml:msqrt>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>For <inline-formula><mml:math><mml:mrow><mml:mi> x </mml:mi><mml:mo> , </mml:mo><mml:mi> y </mml:mi><mml:mo> , </mml:mo><mml:mo> ∈ </mml:mo><mml:mi> V </mml:mi></mml:mrow></mml:math></inline-formula> is the distance between <italic>x</italic> and <italic>y</italic>. The distance is called Euclidean distance if the dot product is used as the inner product.</p>
      <sec id="sec4dot1">
        <title>4.1. Data Description</title>
        <p>Between February 28 and April 5, 2004, data was collected from 54 sensors installed in the Intel Berkeley laboratory. Every 31 seconds, these sensors measured temperature, humidity, light intensity, and voltage. The observation shows that some sensors are geographically close and could therefore provide similar data, resulting in data redundancy. This proximity can be exploited to group the sensors into clusters and reduce unnecessary transmissions.</p>
      </sec>
      <sec id="sec4dot2">
        <title>4.2. Data Pre-Processing</title>
        <p>Because of sensory data having a wide range of values, the data values are normalized and rescaled using the min-max scalar function defined in equation to ensure accurate and smooth model training.</p>
        <disp-formula id="FD6">
          <label>(6)</label>
          <mml:math>
            <mml:mrow>
              <mml:mtext>min</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>x</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>−</mml:mo>
              <mml:mtext>max</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mi>x</mml:mi>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mi>x</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:msub>
                    <mml:mi>x</mml:mi>
                    <mml:mrow>
                      <mml:mtext>max</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>x</mml:mi>
                    <mml:mrow>
                      <mml:mtext>max</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>−</mml:mo>
                  <mml:msub>
                    <mml:mi>x</mml:mi>
                    <mml:mrow>
                      <mml:mtext>min</mml:mtext>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <italic>x</italic>, represents the data points, <italic>x</italic><sub>min</sub> and <italic>x</italic><sub>max</sub> denote the minimum and maximum of the raw data respectively. The advantage of data normalization is that it eases feature extraction to perform better data correlation. Correlation is a statistical procedure that show the extent to which two variables are linearly related [<xref ref-type="bibr" rid="B11">11</xref>]</p>
        <disp-formula id="FD7">
          <label>(7)</label>
          <mml:math>
            <mml:mrow>
              <mml:mi>ρ</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mn>1</mml:mn>
                  <mml:mo>−</mml:mo>
                  <mml:mstyle displaystyle="true">
                    <mml:mo>∑</mml:mo>
                    <mml:mrow>
                      <mml:mn>6</mml:mn>
                      <mml:msubsup>
                        <mml:mi>d</mml:mi>
                        <mml:mi>i</mml:mi>
                        <mml:mn>2</mml:mn>
                      </mml:msubsup>
                    </mml:mrow>
                  </mml:mstyle>
                </mml:mrow>
                <mml:mrow>
                  <mml:mi>n</mml:mi>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msup>
                        <mml:mi>n</mml:mi>
                        <mml:mn>2</mml:mn>
                      </mml:msup>
                      <mml:mo>−</mml:mo>
                      <mml:mn>1</mml:mn>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> d </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the difference between the <italic>x</italic> and <italic>Y</italic> for each pair of data <inline-formula><mml:math><mml:mi> ρ </mml:mi></mml:math></inline-formula> is the strength of the rank correlation between variables <xref ref-type="fig" rid="fig1">Figure 1</xref>. <italic>n</italic> is the number of samples, <inline-formula><mml:math><mml:mrow><mml:mstyle displaystyle="true"><mml:mo> ∑ </mml:mo><mml:mrow><mml:mn> 6 </mml:mn><mml:msubsup><mml:mi> d </mml:mi><mml:mi> i </mml:mi><mml:mn> 2 </mml:mn></mml:msubsup></mml:mrow></mml:mstyle></mml:mrow></mml:math></inline-formula> is the difference between <italic>x</italic> and <italic>y</italic> variable ranks. n is the sample size. For example, computing the Pearson coefficient of temperature and humidity using (7), we have <inline-formula><mml:math><mml:mrow><mml:mi> ρ </mml:mi><mml:mo> = </mml:mo><mml:mo> − </mml:mo><mml:mn> 0.92 </mml:mn></mml:mrow></mml:math></inline-formula> , <bold>Table 3</bold> below represents the correlation matrix of the sensor node 2 from the observation, there is strong negative correlation between humidity and temperature.</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <caption>
            <p>Spatial distribution of the sensor nodes across the working space, the closer the nodes the more likely they collect similar information.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1724912-rId77.jpeg?20261130012754" />
        </fig>
        <p><bold>Table 3.</bold> Correlation matrix of sensor node 2.</p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td>Correlation</td>
                <td>Temperature</td>
                <td>Humidity</td>
              </tr>
              <tr>
                <td>Temperature</td>
                <td>1.00</td>
                <td>1.00</td>
              </tr>
              <tr>
                <td>Humidity</td>
                <td>−0.92</td>
                <td>−0.92</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>To study the spatial temporal distribution of the data, an investigation of the correlation between different nodes were performed to get clusters of nodes base on temperature and humidity. For example, the cluster of node 2, 3 and 4 gave a correlation of temperature and humidity as:</p>
        <p><bold>Table 4.</bold> Correlation matrix of sensor node (2, 4, 6).</p>
        <table-wrap id="tbl4">
          <label>Table 4</label>
          <table>
            <tbody>
              <tr>
                <td>Correlation</td>
                <td>Temperature 2</td>
                <td>Temperature 4</td>
                <td>Temperature 6</td>
              </tr>
              <tr>
                <td>Temperature 2</td>
                <td>1.00</td>
                <td>−0.71</td>
                <td>+0.87</td>
              </tr>
              <tr>
                <td>Temperature 4</td>
                <td>−0.71</td>
                <td>1.00</td>
                <td>−0.55</td>
              </tr>
              <tr>
                <td>Temperature 6</td>
                <td>+0.87</td>
                <td>−0.55</td>
                <td>1.00</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>From <bold>Table 4</bold>, we can see that there is strong positive correlation between node 2 and node 6 and there is strong negative correlation between node 4 and node 2 and hence are clusters as one clusters with due to the similarity between the nodes base on temperature and humidity. And this is also due to the closeness of the nodes in terms of spatial distribution.</p>
        <p>Lets consider another cluster of node (4, 7, 10) (<bold>Table 5</bold>).</p>
        <p><bold>Table 5.</bold> Correlation matrix of sensor node (4, 7, 10).</p>
        <table-wrap id="tbl5">
          <label>Table 5</label>
          <table>
            <tbody>
              <tr>
                <td>Correlation</td>
                <td>Temperature 4</td>
                <td>Temperature 7</td>
                <td>Temperature 10</td>
              </tr>
              <tr>
                <td>Temperature 4</td>
                <td>1.00</td>
                <td>−0.41</td>
                <td>+0.43</td>
              </tr>
              <tr>
                <td>Temperature7</td>
                <td>0.41</td>
                <td>1.00</td>
                <td>0.92</td>
              </tr>
              <tr>
                <td>Temperature10</td>
                <td>0.43</td>
                <td>0.92</td>
                <td>1.00</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>It is observed that there is positive strong correlation between node 10 and node 7 and there is another strong correlation between node 7 and 4 this is also due to the closeness of the nodes</p>
        <fig id="fig2">
          <label>Figure 2</label>
          <caption>
            <p>Clustering of node base on temperature, humidity on correlation.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1724912-rId78.jpeg?20261130012754" />
        </fig>
        <p><xref ref-type="fig" rid="fig2">Figure 2</xref> shows the 54 distribution of sensors nodes and their fixed position which are the same as in the inter berkery lab. From the table, we can see that node 2, 4 and 6 are closer and their correlation coefficient between the temperature and humidity was very high as well as other clusters of nodes</p>
      </sec>
      <sec id="sec4dot3">
        <title>4.3. Model Architecture</title>
        <p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows the model architecture of our project. Where data was collected. We tested for the stationarity of the data and we move forward by Normalizing and performing of standardization on the data and after we implemented the clustering algorithm and we then perform KNN algorithm on those clusters using the nodes of 2, 6, 4 and 4, 7, 10 and we check for the performance of our prediction using LSTM model.</p>
        <fig id="fig3">
          <label>Figure 3</label>
          <caption>
            <p>Model architecture.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1724912-rId79.jpeg?20261130012755" />
        </fig>
        <p>We use the neighboring sensor nodes to form clusters with the help of the correlation matrix, as stated in the problem formulation Section (2.1).</p>
        <p>The proposed architecture uses the KNN model to group WSN nodes according to their proximity and the correlation of their temperature and humidity data. The RNN model then makes it possible to predict the data with good accuracy. So, instead of sending data from all nodes to the base station, only one representative node per cluster is sent, reducing transmissions and energy consumption.</p>
      </sec>
    </sec>
    <sec id="sec5">
      <title>5. RNN Model</title>
      <p>Recurrent Neural Networks (RNNs) are artificial neural networks designed to process sequential or temporal data. They are particularly well-suited to data from WSN sensors because they take into account the chronological order of information. An RNN consists of three main elements: the input, the hidden state, and the output. It can store previous information to better process current data.</p>
      <p>The RNN is governed by the following equations:</p>
      <disp-formula id="FD8">
        <label>(8)</label>
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mi>m</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:msub>
              <mml:mi>b</mml:mi>
              <mml:mn>1</mml:mn>
            </mml:msub>
            <mml:mo>+</mml:mo>
            <mml:mi>W</mml:mi>
            <mml:msup>
              <mml:mi>h</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mrow>
                    <mml:mi>t</mml:mi>
                    <mml:mo>−</mml:mo>
                    <mml:mn>1</mml:mn>
                  </mml:mrow>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>+</mml:mo>
            <mml:mi>U</mml:mi>
            <mml:msup>
              <mml:mi>x</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <disp-formula id="FD9">
        <label>(9)</label>
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mi>h</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:mi>σ</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msub>
                  <mml:mi>m</mml:mi>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mi>t</mml:mi>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                </mml:msub>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <disp-formula id="FD10">
        <label>(10)</label>
        <mml:math>
          <mml:mrow>
            <mml:msup>
              <mml:mi>o</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>=</mml:mo>
            <mml:msub>
              <mml:mi>b</mml:mi>
              <mml:mn>2</mml:mn>
            </mml:msub>
            <mml:mo>+</mml:mo>
            <mml:mi>V</mml:mi>
            <mml:msup>
              <mml:mi>h</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> b </mml:mi><mml:mn> 1 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> b </mml:mi><mml:mn> 2 </mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> are the vectors added to the weight matrix <italic>U</italic>, <italic>V</italic> and <italic>W</italic>, which are respectively the input-to hidden, hidden-to-output and hidden-to-hidden weights. The activation function is denoted by <inline-formula><mml:math><mml:mi> σ </mml:mi></mml:math></inline-formula> Similarly, a loss function is defined in terms of the inputs, the hidden and output units.</p>
      <disp-formula id="FD11">
        <label>(11)</label>
        <mml:math>
          <mml:mrow>
            <mml:mi>L</mml:mi>
            <mml:mo>=</mml:mo>
            <mml:mfrac>
              <mml:mn>1</mml:mn>
              <mml:mi>T</mml:mi>
            </mml:mfrac>
            <mml:munderover>
              <mml:mstyle mathsize="140%" displaystyle="true">
                <mml:mo>∑</mml:mo>
              </mml:mstyle>
              <mml:mrow>
                <mml:mi>t</mml:mi>
                <mml:mo>=</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
              <mml:mi>T</mml:mi>
            </mml:munderover>
            <mml:mtext>
               
            </mml:mtext>
            <mml:mi>l</mml:mi>
            <mml:mrow>
              <mml:mo>(</mml:mo>
              <mml:mrow>
                <mml:msup>
                  <mml:mi>o</mml:mi>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mi>t</mml:mi>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                </mml:msup>
                <mml:mo>,</mml:mo>
                <mml:msup>
                  <mml:mi>y</mml:mi>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>(</mml:mo>
                      <mml:mi>t</mml:mi>
                      <mml:mo>)</mml:mo>
                    </mml:mrow>
                  </mml:mrow>
                </mml:msup>
              </mml:mrow>
              <mml:mo>)</mml:mo>
            </mml:mrow>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>where <inline-formula><mml:math><mml:mrow><mml:mi> l </mml:mi><mml:mrow><mml:mo> ( </mml:mo><mml:mrow><mml:msup><mml:mi> o </mml:mi><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mi> t </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo> , </mml:mo><mml:msup><mml:mi> y </mml:mi><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mi> t </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> , is the loss function at time step <italic>t</italic>, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> y </mml:mi><mml:mrow><mml:mrow><mml:mo> ( </mml:mo><mml:mi> t </mml:mi><mml:mo> ) </mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the true output.</p>
      <p>The various parts of the weight matrices <italic>U</italic>, <italic>V</italic>, and <italic>W</italic> must also be updated, which calls for the use of an optimizer. Updates are made for time <italic>t</italic> because of the data temporal distribution, which introduces the idea of “backward propagation through time” (BPTT). The dynamic of BPTT is carried out using various sets of equations which include:</p>
      <disp-formula id="FD12">
        <label>(12)</label>
        <mml:math>
          <mml:mrow>
            <mml:mfrac>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>L</mml:mi>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>V</mml:mi>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:munderover>
              <mml:mstyle mathsize="140%" displaystyle="true">
                <mml:mo>∑</mml:mo>
              </mml:mstyle>
              <mml:mrow>
                <mml:mi>t</mml:mi>
                <mml:mo>=</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
              <mml:mi>T</mml:mi>
            </mml:munderover>
            <mml:mfrac>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>L</mml:mi>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>o</mml:mi>
              </mml:mrow>
            </mml:mfrac>
            <mml:msup>
              <mml:mi>h</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <disp-formula id="FD13">
        <label>(13)</label>
        <mml:math>
          <mml:mrow>
            <mml:mfrac>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>L</mml:mi>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>U</mml:mi>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:munderover>
              <mml:mstyle mathsize="140%" displaystyle="true">
                <mml:mo>∑</mml:mo>
              </mml:mstyle>
              <mml:mrow>
                <mml:mi>t</mml:mi>
                <mml:mo>=</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
              <mml:mi>T</mml:mi>
            </mml:munderover>
            <mml:mfrac>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>L</mml:mi>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>h</mml:mi>
              </mml:mrow>
            </mml:mfrac>
            <mml:msup>
              <mml:mi>x</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <disp-formula id="FD14">
        <label>(14)</label>
        <mml:math>
          <mml:mrow>
            <mml:mfrac>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>L</mml:mi>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>W</mml:mi>
              </mml:mrow>
            </mml:mfrac>
            <mml:mo>=</mml:mo>
            <mml:munderover>
              <mml:mstyle mathsize="140%" displaystyle="true">
                <mml:mo>∑</mml:mo>
              </mml:mstyle>
              <mml:mrow>
                <mml:mi>t</mml:mi>
                <mml:mo>=</mml:mo>
                <mml:mn>1</mml:mn>
              </mml:mrow>
              <mml:mi>T</mml:mi>
            </mml:munderover>
            <mml:mfrac>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>L</mml:mi>
              </mml:mrow>
              <mml:mrow>
                <mml:mo>∂</mml:mo>
                <mml:mi>h</mml:mi>
              </mml:mrow>
            </mml:mfrac>
            <mml:msup>
              <mml:mi>h</mml:mi>
              <mml:mrow>
                <mml:mrow>
                  <mml:mo>(</mml:mo>
                  <mml:mi>t</mml:mi>
                  <mml:mo>)</mml:mo>
                </mml:mrow>
              </mml:mrow>
            </mml:msup>
            <mml:mo>.</mml:mo>
          </mml:mrow>
        </mml:math>
      </disp-formula>
      <p>Natural reference networks (NRNs) present two major problems: vanishing gradient, when gradients become too small, and exploding gradient, when they become too large, making learning difficult. To address these issues, long-term learning models (LSTMs) were developed to better manage information to be retained or forgotten over extended periods and to improve prediction performance (<xref ref-type="fig" rid="fig4">Figure 4</xref>).</p>
      <fig id="fig4">
        <label>Figure 4</label>
        <caption>
          <p>The LSTM quantifies how much previous data it should remember, how this unit adds to the current state, and how this portion of the current state is forwarded to the output in order to solve the problem of vanishing gradient descend [<xref ref-type="bibr" rid="B12">12</xref>].</p>
        </caption>
        <graphic xlink:href="https://html.scirp.org/file/1724912-rId104.jpeg?20261130012755" />
      </fig>
      <sec id="sec5dot1">
        <title>Model Evaluation</title>
        <p>The Root Mean Squared Error (RMSE) is a measure of the prediction error which defines how far the predicted values are from the observed values (15).</p>
        <disp-formula id="FD15">
          <label>(15)</label>
          <mml:math>
            <mml:mrow>
              <mml:mtext>RMSE</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>Y</mml:mi>
                    <mml:mi>i</mml:mi>
                  </mml:msub>
                  <mml:mo>,</mml:mo>
                  <mml:msub>
                    <mml:mi>Y</mml:mi>
                    <mml:mrow>
                      <mml:mi>p</mml:mi>
                      <mml:mi>r</mml:mi>
                      <mml:mi>e</mml:mi>
                      <mml:mi>d</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:msqrt>
                <mml:mrow>
                  <mml:munderover>
                    <mml:mstyle mathsize="140%" displaystyle="true">
                      <mml:mo>∑</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:mfrac>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>Y</mml:mi>
                        <mml:mi>i</mml:mi>
                      </mml:msub>
                      <mml:mo>−</mml:mo>
                      <mml:msub>
                        <mml:mi>Y</mml:mi>
                        <mml:mrow>
                          <mml:mi>p</mml:mi>
                          <mml:mi>r</mml:mi>
                          <mml:mi>e</mml:mi>
                          <mml:mi>d</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mi>n</mml:mi>
                  </mml:mfrac>
                </mml:mrow>
              </mml:msqrt>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>The Mean Squared Error (MSE) The MSE is formally defined by the following equation:</p>
        <disp-formula id="FD16">
          <label>(16)</label>
          <mml:math>
            <mml:mrow>
              <mml:mtext>RSE</mml:mtext>
              <mml:mrow>
                <mml:mo>(</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>Y</mml:mi>
                    <mml:mi>i</mml:mi>
                  </mml:msub>
                  <mml:mo>,</mml:mo>
                  <mml:msub>
                    <mml:mi>Y</mml:mi>
                    <mml:mrow>
                      <mml:mi>p</mml:mi>
                      <mml:mi>r</mml:mi>
                      <mml:mi>e</mml:mi>
                      <mml:mi>d</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mo>)</mml:mo>
              </mml:mrow>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mn>1</mml:mn>
                <mml:mi>N</mml:mi>
              </mml:mfrac>
              <mml:munderover>
                <mml:mstyle mathsize="140%" displaystyle="true">
                  <mml:mo>∑</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:msup>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mo>(</mml:mo>
                    <mml:mrow>
                      <mml:msub>
                        <mml:mi>Y</mml:mi>
                        <mml:mi>i</mml:mi>
                      </mml:msub>
                      <mml:mo>−</mml:mo>
                      <mml:msub>
                        <mml:mi>Y</mml:mi>
                        <mml:mrow>
                          <mml:mi>p</mml:mi>
                          <mml:mi>r</mml:mi>
                          <mml:mi>e</mml:mi>
                          <mml:mi>d</mml:mi>
                        </mml:mrow>
                      </mml:msub>
                    </mml:mrow>
                    <mml:mo>)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
                <mml:mn>2</mml:mn>
              </mml:msup>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where, <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> Y </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the label of entry(data).</p>
        <p><inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> Y </mml:mi><mml:mrow><mml:mi> p </mml:mi><mml:mi> r </mml:mi><mml:mi> e </mml:mi><mml:mi> d </mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the predicted values of <inline-formula><mml:math><mml:mrow><mml:msub><mml:mi> Y </mml:mi><mml:mi> i </mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> .</p>
        <p>The method by which we choose nodes to make predictions is the most crucial thing to remember from this section. On the basis of the parameters specified in Section (5), we also established the conditions required for the model’s proper operation. We perform efficient training, data prediction, analysis, and simulations in the following section.</p>
      </sec>
    </sec>
    <sec id="sec6">
      <title>6. Results and Discussions</title>
      <sec id="sec6dot1">
        <title>6.1. Model Training</title>
        <p>We go over the fixed hyper-parameters required for training in this section. The data set is divided into 1000 observations for prediction and 20,000 observations for training (<bold>Table 6</bold>). The set standards are as follows:</p>
        <p>Epoch: In the training phase, the epoch specifies how frequently the entire data set is passed through the model. They number of epochs used to train the model is they epoch number = 10.Batch Size: It considers all observations that have been processed following one training iteration. The model utilities a batch size of 128 during the learning phase.Optimizer: We used the Adam Optimizer due to its smooth and fast convergence rate.</p>
        <p><bold>Table 6.</bold> Output values from selected parameters.</p>
        <table-wrap id="tbl6">
          <label>Table 6</label>
          <table>
            <tbody>
              <tr>
                <td>Look-back</td>
                <td>Epochs</td>
                <td>Batch-size</td>
                <td>RMSE</td>
              </tr>
              <tr>
                <td>300</td>
                <td>33</td>
                <td>160</td>
                <td>0.02</td>
              </tr>
              <tr>
                <td>280</td>
                <td>30</td>
                <td>140</td>
                <td>0.01</td>
              </tr>
              <tr>
                <td>250</td>
                <td>25</td>
                <td>130</td>
                <td>0.01</td>
              </tr>
              <tr>
                <td>200</td>
                <td>20</td>
                <td>128</td>
                <td>0.01</td>
              </tr>
              <tr>
                <td>150</td>
                <td>15</td>
                <td>120</td>
                <td>0.05</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>The prediction of missing temperature values from node 4 is based on historical data from nodes 2, 4 and 6. Several parameters were tested in order to optimize the model. The results show that look-back windows of 200 and 250 give the best performance, with an RMSE of 0.01. However, the look-back of 200 performs the best for predicting the values of nodes 4 and 2.</p>
      </sec>
      <sec id="sec6dot2">
        <title>6.2. Node Selection</title>
        <p>Spearman’s rank correlation shows a strong correlation between nodes 2, 6, and 4 (<xref ref-type="fig" rid="fig5">Figure 5</xref>). The temperature prediction results for node 4 indicate a good match between predicted and actual values. However, some anomalies persist due to noise in the historical data and the presence of obstacles that could interfere with sensor measurements<bold>.</bold></p>
        <p>The performance of the prediction model is determined using the root mean square error (RMSE) equation (15) and its root mean square error (RMSE) equation (16). The results show that the prediction errors are 0.17 (training) and 0.07 (testing) for temperature, and 16.78 (training) and 10.23 (testing) for humidity.</p>
        <p>A low RMSE indicates better model accuracy. The results also show that nodes with a high correlation coefficient generally exhibit low prediction errors. Finally, node 4 is used to predict the values of node 2, as they belong to the same cluster. The predicted values generally follow the same distribution as the actual values, despite some errors related to sensor failures and incorrect measurements (<xref ref-type="fig" rid="fig6">Figure 6</xref>).</p>
        <fig id="fig5">
          <label>Figure 5</label>
          <caption>
            <p>Predicted temperature value for node 2 aided by node 4 and node 6.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1724912-rId115.jpeg?20261130012756" />
        </fig>
        <fig id="fig6">
          <label>Figure 6</label>
          <caption>
            <p>Node used in predicting node 2 and compared to the previous predicted node 2 of <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p>
          </caption>
          <graphic xlink:href="https://html.scirp.org/file/1724912-rId116.jpeg?20261130012756" />
        </fig>
      </sec>
    </sec>
    <sec id="sec7">
      <title>7. Conclusion</title>
      <p>This study proposes a method to reduce data transmission and energy consumption in wireless sensor networks. It combines sensor clustering, the k-nearest neighbors (KNN) algorithm, and a recurrent neural network (RNN) to predict data by leveraging spatial and temporal correlations. Tested on the Intel Indoor dataset—following normalization and transformation into a format suitable for supervised learning—this approach achieves a lower prediction error compared to previous studies. By predicting and aggregating data, the method limits the transmission of redundant information and conserves sensor energy.</p>
    </sec>
    <sec id="sec8">
      <title>Author Contributions</title>
      <p>Abdoulaye Ali Ibrahima: Main Author.</p>
      <p>Professor BISSO’s contribution: evaluation of the effectiveness of the proposed model by performing a comparative analysis with the number of sensor node groups </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Umar Farooq, M., Waseem, M., Mazhar, S., Khairi, A. and Kamal, T. (2015) A Review on Internet of Things (IoT). <italic>International Journal of Computer Applications</italic>, 113, 1-7. https://doi.org/10.5120/19787-1571 <pub-id pub-id-type="doi">10.5120/19787-1571</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5120/19787-1571">https://doi.org/10.5120/19787-1571</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Farooq, M.</string-name>
              <string-name>Waseem, M.</string-name>
              <string-name>Mazhar, S.</string-name>
              <string-name>Khairi, A.</string-name>
              <string-name>Kamal, T.</string-name>
            </person-group>
            <year>2015</year>
            <article-title>A Review on Internet of Things (IoT)</article-title>
            <source>International Journal of Computer Applications</source>
            <volume>113</volume>
            <pub-id pub-id-type="doi">10.5120/19787-1571</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Lu, T. and Wang, N. (2010) Future Internet: The Internet of Things. 2010 3 <italic>rd International Conference on Advanced Computer Theory and Engineering</italic> ( <italic>ICAC</italic>- <italic>TE</italic>), Chengdu, 20-22 August 2010, 376-380.</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Lu, T.</string-name>
              <string-name>Wang, N.</string-name>
            </person-group>
            <year>2010</year>
            <article-title>Future Internet: The Internet of Things</article-title>
            <source>2010 3rd International Conference on Advanced Computer Theory and Engineering (ICAC-TE)</source>
            <volume>20</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Osisanwo, F., Kuyoro, S. and Awodele, O. (2015) Internet Refrigerator—A Typical Internet of Things (IoT). 3 <italic>rd International Conference on Advances in Engineering Sciences &amp; Applied Mathematics</italic> (ICAESAM’2015), London, 23-24 March 2015, 59-63. https://iieng.org/images/proceedings_pdf/2602E0315051.pdf</mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Osisanwo, F.</string-name>
              <string-name>Kuyoro, S.</string-name>
              <string-name>Awodele, O.</string-name>
            </person-group>
            <year>2015</year>
            <article-title>Internet Refrigerator—A Typical Internet of Things (IoT)</article-title>
            <source>3rd International Conference on Advances in Engineering Sciences &amp; Applied Mathematics (ICAESAM’2015)</source>
            <volume>23</volume>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Liang, X.L. (2018) Internet of Things and Its Applications in Libraries: A Literature Review. <italic>Library Hi Tech</italic>, 38, 67-77. https://doi.org/10.1108/lht-01-2018-0014 <pub-id pub-id-type="doi">10.1108/lht-01-2018-0014</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1108/lht-01-2018-0014">https://doi.org/10.1108/lht-01-2018-0014</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Liang, X.L.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>Internet of Things and Its Applications in Libraries: A Literature Review</article-title>
            <source>Library Hi Tech</source>
            <volume>38</volume>
            <pub-id pub-id-type="doi">10.1108/lht-01-2018-0014</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Zhou, H., Liu, B.W. and Dong, P.P. (2012) The Technology System Framework of the Internet of Things and Its Application Research in Agriculture. In: Li, D. and Chen, Y., Eds., <italic>IFIP Advances in Information and Communication Technology</italic>, Springer, 293-300. https://doi.org/10.1007/978-3-642-27281-3_35 <pub-id pub-id-type="doi">10.1007/978-3-642-27281-3_35</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-642-27281-3_35">https://doi.org/10.1007/978-3-642-27281-3_35</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Zhou, H.</string-name>
              <string-name>Liu, B.W.</string-name>
              <string-name>Dong, P.P.</string-name>
              <string-name>Li, D.</string-name>
              <string-name>Chen, Y.</string-name>
              <string-name>Technology, S</string-name>
            </person-group>
            <year>2012</year>
            <article-title>The Technology System Framework of the Internet of Things and Its Application Research in Agriculture</article-title>
            <source>In: Li</source>
            <volume>293</volume>
            <pub-id pub-id-type="doi">10.1007/978-3-642-27281-3_35</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Malik, P.K., Sharma, R., Singh, R., Gehlot, A., Satapathy, S.C., Alnumay, W.S., <italic>et al.</italic> (2021) Industrial Internet of Things and Its Applications in Industry 4.0: State of the Art. <italic>Computer Communications</italic>, 166, 125-139. https://doi.org/10.1016/j.comcom.2020.11.016 <pub-id pub-id-type="doi">10.1016/j.comcom.2020.11.016</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.comcom.2020.11.016">https://doi.org/10.1016/j.comcom.2020.11.016</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Malik, P.K.</string-name>
              <string-name>Sharma, R.</string-name>
              <string-name>Singh, R.</string-name>
              <string-name>Gehlot, A.</string-name>
              <string-name>Satapathy, S.C.</string-name>
              <string-name>Alnumay, W.S.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Industrial Internet of Things and Its Applications in Industry 4</article-title>
            <source>0: State of the Art. Computer Communications</source>
            <volume>166</volume>
            <pub-id pub-id-type="doi">10.1016/j.comcom.2020.11.016</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Scuotto, V., Ferraris, A. and Bresciani, S. (2016) Internet of Things: Applications and Challenges in Smart Cities. A Case Study of IBM Smart City Projects. <italic>Business Process Management Journal</italic>, 22, 357-367. https://doi.org/10.1108/bpmj-05-2015-0074 <pub-id pub-id-type="doi">10.1108/bpmj-05-2015-0074</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1108/bpmj-05-2015-0074">https://doi.org/10.1108/bpmj-05-2015-0074</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Scuotto, V.</string-name>
              <string-name>Ferraris, A.</string-name>
              <string-name>Bresciani, S.</string-name>
            </person-group>
            <year>2016</year>
            <article-title>Internet of Things: Applications and Challenges in Smart Cities</article-title>
            <source>A Case Study of IBM Smart City Projects. Business Process Management Journal</source>
            <volume>22</volume>
            <pub-id pub-id-type="doi">10.1108/bpmj-05-2015-0074</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="web">Gupta, V. and Simmons, D.G. (2010) Building the Web of Things with Sun SPOTs [Hands-on Lab]. https://sunspotdev.org/S314730_Sun_SPOTs_Web_Of_Things/index.html</mixed-citation>
          <element-citation publication-type="web">
            <person-group person-group-type="author">
              <string-name>Gupta, V.</string-name>
              <string-name>Simmons, D.G.</string-name>
            </person-group>
            <year>2010</year>
            <article-title>Building the Web of Things with Sun SPOTs [Hands-on Lab]</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Camarinha-Matos, L.M., Goes, J., Gomes, L. and Martins, J. (2013) Contributing to the Internet of Things. In: Camarinha-Matos, L.M., Tomic, S. and Graça, P., Eds., <italic>IFIP Advances in Information and Communication Technology</italic>, Springer, 3-12. https://doi.org/10.1007/978-3-642-37291-9_1 <pub-id pub-id-type="doi">10.1007/978-3-642-37291-9_1</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-642-37291-9_1">https://doi.org/10.1007/978-3-642-37291-9_1</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Camarinha-Matos, L.M.</string-name>
              <string-name>Goes, J.</string-name>
              <string-name>Gomes, L.</string-name>
              <string-name>Martins, J.</string-name>
              <string-name>Camarinha-Matos, L.M.</string-name>
              <string-name>Tomic, S.</string-name>
              <string-name>Technology, S</string-name>
            </person-group>
            <year>2013</year>
            <article-title>Contributing to the Internet of Things</article-title>
            <source>In: Camarinha-Matos</source>
            <volume>3</volume>
            <pub-id pub-id-type="doi">10.1007/978-3-642-37291-9_1</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Dixit, M., Kumar, J. and Kumar, R. (2015) Internet of Things and Its Challenges. 2015 <italic>International Conference on Green Computing and Internet of Things</italic> ( <italic>ICGCIoT</italic>), Greater Noida, 8-10 October 2015, 810-814. https://doi.org/10.1109/icgciot.2015.7380574 <pub-id pub-id-type="doi">10.1109/icgciot.2015.7380574</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/icgciot.2015.7380574">https://doi.org/10.1109/icgciot.2015.7380574</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Dixit, M.</string-name>
              <string-name>Kumar, J.</string-name>
              <string-name>Kumar, R.</string-name>
            </person-group>
            <year>2015</year>
            <article-title>Internet of Things and Its Challenges</article-title>
            <source>2015 International Conference on Green Computing and Internet of Things (ICGCIoT)</source>
            <volume>8</volume>
            <pub-id pub-id-type="doi">10.1109/icgciot.2015.7380574</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Sedgwick, P. (2014) Spearman’s Rank Correlation Coefficient. <italic>BMJ</italic>, 349, g7327. https://doi.org/10.1136/bmj.g7327 <pub-id pub-id-type="doi">10.1136/bmj.g7327</pub-id><pub-id pub-id-type="pmid">25432873</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1136/bmj.g7327">https://doi.org/10.1136/bmj.g7327</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Sedgwick, P.</string-name>
            </person-group>
            <year>2014</year>
            <article-title>Spearman’s Rank Correlation Coefficient</article-title>
            <source>BMJ</source>
            <volume>349</volume>
            <pub-id pub-id-type="doi">10.1136/bmj.g7327</pub-id>
            <pub-id pub-id-type="pmid">25432873</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Ayitey Junior, M., Appiahene, P. and Appiah, O. (2022) Forex Market Forecasting with Two-Layer Stacked Long Short-Term Memory Neural Network (LSTM) and Correlation Analysis. <italic>Journal of Electrical Systems and Information Technology</italic>, 9, 14. https://doi.org/10.1186/s43067-022-00054-1 <pub-id pub-id-type="doi">10.1186/s43067-022-00054-1</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s43067-022-00054-1">https://doi.org/10.1186/s43067-022-00054-1</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Junior, M.</string-name>
              <string-name>Appiahene, P.</string-name>
              <string-name>Appiah, O.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Forex Market Forecasting with Two-Layer Stacked Long Short-Term Memory Neural Network (LSTM) and Correlation Analysis</article-title>
            <source>Journal of Electrical Systems and Information Technology</source>
            <volume>9</volume>
            <pub-id pub-id-type="doi">10.1186/s43067-022-00054-1</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>