<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "https://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <article-meta>
      <title-group>
        <article-title>Network Traffic Classification Using Machine Learning Techniques: An Applied Flow-Based Study</article-title>
      </title-group>
      <contrib-group content-type="author">
        <contrib contrib-type="person">
          <name>
            <surname>Hasani</surname>
            <given-names>Nahla Flayyih</given-names>
          </name>
          <email>nahla.flayyih@gmail.com</email>
          <xref ref-type="aff" rid="aff-1"/>
        </contrib>
      </contrib-group>
      <aff id="aff-1">
        <institution>College of Basic Education, University of Sumer. Rifai,Thi-Qar</institution>
        <country>Iraq</country>
      </aff>
      <history>
        <date date-type="received" iso-8601-date="2026-08-02">
          <day>02</day>
          <month>08</month>
          <year>2026</year>
        </date>
        <date data-type="published" iso-8601-date="2026-08-17">
          <day>17</day>
          <month>08</month>
          <year>2026</year>
        </date>
      </history>
    <pub-date pub-type="epub"><day>18</day><month>08</month><year>2026</year></pub-date></article-meta>
  </front>
  
  
<body id="body">
    <sec id="heading-95834754a295009c90c30039a0bc9b43">
      <title>
        <bold id="_bold-5">Introduction</bold>
      </title>
      <p id="_paragraph-10">Network data traffic rating is one of the most important and complex tasks in the field of modern network engineering, with several basic functions such as bandwidth management, service quality control (QOS), resource allocation between different applications, as well as detecting malicious or unwanted activities within network. Historic systems have relied on two main methods: Port-Based Classification and Deep Packet Inspection - DPI. However, both methods faced fundamental restrictions with the development of the Internet; The propagation of dynamic ports and applications that hide behind non-standard ports has weakened the reliability of port-based classification [1]. While the package checking content has become practically unavailable with the widespread spread of encryption protocols such as TLS and HTTPS, which are now covering the vast majority of global Internet traffic [2] [3].</p>
      <p id="_paragraph-11">With these challenges, machine learning has emerged as a promising alternative based on the extraction of statistical properties from data movement (such as package lengths, intervals between their arrival, flow duration, and the number of bytes transferred) without the need for Read the actual package content or exclusive dependence on the port number. Recent studies have proven that this approach is capable of achieving high classification accuracy even in the presence of fully encrypted data traffic [4][5][6], which has made it an active and continuous subject of research in recent years.</p>
      <p id="_paragraph-12">This research aims to provide an integrated application study that is not limited to the literature review, but includes an actual design and implementation of a complete data processing and classification pipeline, from the definition of properties, through pretreatment, and ending with the training of four. Automated learning models that are commonly used in this field, and are evaluated in comparison with multiple performance standards.</p>
      <p id="_paragraph-13">Specifically, this research seeks to answer the following research questions:</p>
      <p id="_paragraph-14"> • How effective are the flow-based features in distinguishing different data traffic?</p>
      <list list-type="bullet" id="list-abe9db44ea105167cf90e1884b4241b8">
        <list-item>
          <p>Which of the four studied classification algorithms (Decision Tree, Random Forest, SVM, KNN) achieve the best balance between accuracy and stability?</p>
        </list-item>
        <list-item>
          <p>What are the most influential characteristics of the classification decision, and how can this be explained by the network?</p>
        </list-item>
      </list>
      <p id="_paragraph-15">The structure of this research is divided into six main sections: the second section reviews the relevant work, and the third section presents the proposed methodology, including the description of data, characteristics and classification algorithms. It will discuss it, and the sixth section concludes with the most important future conclusions and recommendations.</p>
      <p id="_paragraph-16">
        <bold id="_bold-6">2. Related Work</bold>
      </p>
      <p id="_paragraph-17">AZAB and others [1] presented a comprehensive survey that compiled networks movement classification techniques and data sets, and discussed in-depth the challenges related to the diversity of protocols and cargo encryption. On the other hand, Lopez-Martin et al. [7] reviewed the deep learning applications in network traffic control and analysis (NTMA), with a special focus on the comparison between precision and computational complexity in actual production environments.</p>
      <p id="_paragraph-18">In more recent work, Feng et al. [3] provided a detailed survey of fine-grained internet traffic analysis techniques, discussing the limitations of traditional statistical methods in the face of the rapidly growing diversity of modern applications.</p>
      <p id="_paragraph-19">In the context of combining machine learning with Software-Defined Networking (SDN), Serag et al. [8] and Salau and Beyene [9] presented two applied studies which employed algorithms like AdaBoost, random forests, decision trees, logistic regression and SVM for classify protocols such as Telnet, DNS and Voice within an SDN environment; meanwhile, Sobh et al. [10] proposed a similar model aimed at improving Quality of Service (QoS) via scenarios of binary and multi-class classification, compared to linear, non-linear, and hybrid models.</p>
      <p id="_paragraph-20">Regarding deep learning contexts for encrypted traffic classification, Shi et al. [5] proposed the BFCN model, which integrates representations of BERT with Convolutional Neural Networks (CNNs). Meanwhile, Elshewey and Osman [6] produced a stacked deep ensemble framework combining GRUs, CNNs, RNNs, DNNs and LSTMs to classify encrypted HTTPS traffic, achieving an accuracy exceeding 99%. Additionally, Eslami and Hamouda [11] produced a hybrid framework leveraging self-supervised learning and confident learning for reduce reliance on manually classified data; this framework was evaluated on well-known datasets, including ISCX VPN-nonVPN.</p>
      <p id="_paragraph-21">In a recent comparative study, Antari et al. [4] employed classical models</p>
      <p id="_paragraph-22"> (Random Forest, XGBoost, Decision Tree) alongside a Transformer model and large language models (Gemini, GPT-4o); the results produced the superiority of the Transformer model, achieving an accuracy of 98.95%. Meanwhile, Saqib et al. [12] proposed an in-network adaptive classifier aimed at reducing misclassification rates to enhance Quality of Service (QoS). Finally, Pekár et al. [13] proposed a comprehensive tutorial on building systems of flow-based classification, feature engineering, steps of covering flow measurement and leakage-resistant experimental design which largely informed the methodology of the current study.</p>
      <p id="_paragraph-23">In a context similar to the current application, Alshammari and Aleroud [14] compared between Random Forest, Decision Tree, KNN and SVM algorithms to classifying network traffic of smart city; they concluded that the Decision Tree algorithm outperformed the others with an accuracy of 99.18%, providing a direct point of comparison with the results of this research.</p>
      <p id="_paragraph-24">The current search for these works is distinguished by its focus on building a complete and reproductable application tube, with a systematic comparison of four algorithms within a standardized experimental environment and multiple evaluation criteria (accuracy, weighted accuracy, and recall. F1 score, cross-check, rather than just displaying individual results or purely literary review.</p>
    </sec>
    <sec id="heading-9495fe1abe877036302c272d41f2945a">
      <title>
        <bold id="_bold-7">3. Proposed Methodology</bold>
      </title>
      <p id="_paragraph-26">This section describes the applied methodology of the research, which consists of four sequential stages: (a) the description of the flow data set, (b) the extraction of statistical properties, (c) the pre-processing of the data, (d) the selection of classification algorithms and criteria evaluation.</p>
      <p id="_paragraph-27">
        <bold id="_bold-8">3.1 </bold>
        <bold id="_bold-9">Dataset Description</bold>
      </p>
      <p id="_paragraph-28">Due to the limitations of access to the Internet within the implementation environment of this search, it is not possible to download popular reference datasets such as ISCX VPN-Nonvpn [11] or CICIDS2017 directly.</p>
      <p id="_paragraph-29">To avoid a theoretical presentation, a simulated flow dataset was built statistically calibrate to mimic the properties of actual data movement documented in reference literature [1][14][7] For each of the six categories of applications; The average and standard deviation of each property (such as beam length, flow duration, and beam interval) were determined based on the values reported in those studies of each application type, with NOISE and deliberate interference between Items to avoid getting a simplified and unrealistic rating task. Table 1 shows the distribution of the six items used.</p>
      <table-wrap id="tbl1">
        <label>Table 1</label>
        <caption>
          <p id="_paragraph-30"/>
        </caption>
        <table id="_table-1">
          <tbody>
            <tr id="table-row-4209347a4adb51222eee01df542ecf5c">
              <td id="5876b55bd7ef20548b69bbc2d1585963">Traffic Class </td>
              <td id="b4d2eaf2eb4530ae9e0356532de0a2a3">description </td>
              <td id="e2211380973d360363dacc156a939ed8">Number of flows </td>
            </tr>
            <tr id="table-row-1dbaef75f59bad1ffab58a112e692fdc">
              <td id="1fca66db9e7917f24f159f397c18e6d6">Web</td>
              <td id="8936e63884bab200f2f190f63a909520">Standard web browsing (HTTP/HTTPS)</td>
              <td id="0b15a2d1570f8ddc21b08efce60d893a">500</td>
            </tr>
            <tr id="table-row-fbfcb47d44fc637e3aec6fad3de2a227">
              <td id="508b89a730e0af63d47a30bad314219a">Video_Streaming</td>
              <td id="44f93d1f906ef4f4a50792ad19e626e7">Video streaming (such as YouTube/Netflix)</td>
              <td id="073f96f61709793eb385fcf2a8074d7e">500</td>
            </tr>
            <tr id="table-row-4e92634bd6793caef8ae0cb997ba48f5">
              <td id="6f9256afed48c0558e51ec868d33d730">VoIP</td>
              <td id="5301e21c174bb818c8bec4c11aac5008">Voice calls over the Internet</td>
              <td id="dc68950063b29a1e81f8444849394e48">500</td>
            </tr>
            <tr id="table-row-b78c082a86d90cdb9811893cc79187ad">
              <td id="c17aa7689b1057207bf6911e49f0abd1">File_Transfer</td>
              <td id="1c877e66d2baeb250a5460880b79ac54">Transferring large files (FTP/download)</td>
              <td id="8f27eeac5766f7670b8183a5056ff7cc">500</td>
            </tr>
            <tr id="table-row-5244a20b6fd7ebbf60e3cb3f93654922">
              <td id="86256d517c7212b8b6ac36039cf4a4b5">Email</td>
              <td id="bb747ff213c19b838e799e9d1a22f8da">Email correspondence (SMTP/IMAP)</td>
              <td id="a19dc5be752e8510f2405cf7762968b9">500</td>
            </tr>
            <tr id="table-row-d845c3e64abbfd46b68b0bc2238a5231">
              <td id="3308db2b6b528294b5ed5797f571afc6">Gaming</td>
              <td id="7e25ef12330b57cb9f04a4a9ce50202e">Online interactive games</td>
              <td id="fd27f3efb3e6482908823e6a08652c9e">500</td>
            </tr>
            <tr id="table-row-00c6c1fe1c18c02841f480b244d75479">
              <td id="6874c79908da286052f052548d2e2537">
                <bold id="_bold-10">Total</bold>
              </td>
              <td id="3db886000a20fc7dd32b6cf218b03d2d">—</td>
              <td id="9ddc47ff49a4de6acb5a0d60c58560a6">
                <bold id="_bold-11">3000</bold>
              </td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p id="_paragraph-31">Table 1 illustrates the distribution of the six categories used.</p>
      <p id="_paragraph-32">It is important to note that relying on statistically calibrated data aims to provide a fully controlled experimental environment one that is entirely reproducible for testing the integrity of the processing pipeline and the proposed classification; this is clearly identified as a study limitation in Section 5, alongside an explicit recommendation to re-verify the results using real-world data in future work.</p>
      <p id="_paragraph-33">
        <bold id="_bold-12">3.2 </bold>
        <bold id="_bold-13">Extraction of Statistical Flow Features</bold>
      </p>
      <p id="_paragraph-34">Nine statistical features were extracted for each network flow, defined as the set of packets exchanged between specific source and destination addresses within a single time window. These features are summarized in Table 2; they were selected depended on the most widely used and effective features found in the literature on flow classification [4][15][14], as they do not require inspection of the packet payload and thus remain valid even with fully encrypted data traffic.</p>
      <table-wrap id="tbl2">
        <label>Table 2</label>
        <caption>
          <p id="_paragraph-35"/>
        </caption>
        <table id="_table-2">
          <tbody>
            <tr id="table-row-44ed72c56706ddd348d1f22e9750fab7">
              <td id="84fd8c7bcb06d2b7859c99e00c21535e">
                <bold id="_bold-14">Property name</bold>
              </td>
              <td id="7e4e659fdd446ccb76570365fb8c8d31">
                <bold id="_bold-15">description </bold>
              </td>
            </tr>
            <tr id="table-row-4762aed925e7d6231613961152b08b90">
              <td id="24e874daa8ec23d9e774d76a67587b88">mean_packet_length</td>
              <td id="47b0f5ac361e1a9045c1728b12df88e1">Average packet length (bytes) within the flow</td>
            </tr>
            <tr id="table-row-cea6490228c901d4bc66bbf259177340">
              <td id="f43446460e1055aa2550433f69e7a93a">flow_duration_s</td>
              <td id="74341fbc520850b70f9ffad82fc10c38">Total flow duration (seconds)</td>
            </tr>
            <tr id="table-row-32ccd01f58558e7b88d19282af14f11c">
              <td id="74ba0a8a95cdedb7dba8fe76006f0bae">mean_iat_s</td>
              <td id="68bcd0f7449fa67bf1bdfc1b53c91ad0">Average time interval between the arrival of consecutive packets</td>
            </tr>
            <tr id="table-row-5dff8882cd9a826e8869dd5c8b849f20">
              <td id="272da11a31de8840a6e902a063514a58">fwd_packets</td>
              <td id="125cee3ea3dd60cde28634abe97fa156">Number of packets in the forward direction(Client → Server) </td>
            </tr>
            <tr id="table-row-7ce6edabc2df74d7c6c6836299e22557">
              <td id="6bc2b64db1525cca0cb86b0468d409ee">bwd_packets</td>
              <td id="cf2121d35d6e5f9a55881b346dfd9993">Number of packets in the reverse direction (Server → Client)</td>
            </tr>
            <tr id="table-row-5242c7926e49b484fcf0157da328e485">
              <td id="37c2c4c162de8b9c3e71e2eeaeddcd50">total_bytes</td>
              <td id="0121978f3b2fa91ac62ab1cc3dd525e7">Total number of bytes transferred in the stream</td>
            </tr>
            <tr id="table-row-3aefdf1492124b9bfc9dbad61893a424">
              <td id="7e51f46be083df23a0487342f2bbcc95">is_udp</td>
              <td id="545b356e8982f035273697852ea4313d">A binary property indicating the transport protocol (UDP = 1، TCP = 0)</td>
            </tr>
            <tr id="table-row-58beae9924c29128450fe3985686c1ed">
              <td id="5763d26734464580d51d6dfb94608027">packet_rate</td>
              <td id="545d0e3e1b646e82421eaf7dcd02199b">Rate of packets sent per second</td>
            </tr>
            <tr id="table-row-604fc457689e0b6c7619ff340da20126">
              <td id="c6c4b9d69580b389300bd7f835324426">byte_rate</td>
              <td id="3600625520ba40b3b4eceda60a29d8df">Rate of bytes transferred per second</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p id="_paragraph-36">Table 2: Statistical characteristics extracted from each network flow</p>
      <p id="_paragraph-37">
        <bold id="_bold-16">3.3 </bold>
        <bold id="_bold-17">Data Preprocessing</bold>
      </p>
      <p id="_paragraph-38">The preprocessing stage comprised the following steps: First, label encoding was performed to convert the names of the six categories into numerical values. Second, the data was split into training and testing sets, using a 75% to 25% ratio, while maintaining a stratified split across the categories to ensure balanced representation. Third, feature scaling was applied using the Standard Scalar; this normalization was performed exclusively for models sensitive to data scale, namely SVM and KNN, whereas raw, raw features were used for the Decision Tree and Random Forest models, as these are insensitive to value scaling.</p>
      <p id="_paragraph-39">
        <bold id="_bold-18">3.4 </bold>
        <bold id="_bold-19">Classification Algorithms Used</bold>
      </p>
      <p id="_paragraph-40">Four classification algorithms representing different currents were selected under Supervised Learning, and are most employed in network movement rating literature [8][14][9][10]:</p>
      <list list-type="bullet" id="list-77d7896c32b2d458da8fcbbff52eb332">
        <list-item>
          <p>Decision Tree: An explanatory model based on the repeated division of data according to Thresholds for each property, with a maximum depth specified by 10 levels to avoid overfitting.</p>
        </list-item>
        <list-item>
          <p>Random Forest: An aggregate model that combines 200 independent decision trees based on random subsamples of data and properties, with a maximum depth of 12 levels, with the aim of improving stability and reducing contrast.</p>
        </list-item>
        <list-item>
          <p>Supporting vector machine (SVM): using a radial kernel (RBF) with the coefficient of C = 10, an effective algorithm in medium-dimensional spaces when there are non-linear separation boundaries between the cultivars.</p>
        </list-item>
        <list-item>
          <p> KNN: Using seven neighbors (K=7), a lazy learning based on the majority vote among the closest data points in the unified properties space.</p>
        </list-item>
      </list>
      <p id="_paragraph-41">
        <bold id="_bold-20">3.5 </bold>
        <bold id="_bold-21">Evaluation Metrics</bold>
      </p>
      <p id="_paragraph-42">To comprehensively evaluate the performance of the four models, four standard criteria were adopted: accuracy, macro-averaged precision, macro-averaged recall, and total F1 score. (Macro F1-Score); this is to deal fairly with all six items, without weighting the most representative items. In addition, K-Fold stratification (5 folds) was used on training data only, with the aim of verifying the stability of each model's performance and reducing the probability of bias resulting from a single randomized split of data.</p>
      <p id="_paragraph-43">
        <bold id="_bold-22">4.</bold>
        <bold id="_bold-23">Experimental Setup and Practical Implementation</bold>
      </p>
      <p id="_paragraph-44">The full application aspect of this research is carried out using the Python programming language (Version 3), based on the Scikit-Learn to build and evaluate models, and the Pandas and Numpy for Data Processing and Statistical Generation. The MatPlotLib library to produce illustrations. The implementation tube consisted of the following stages in sequence:</p>
      <p id="_paragraph-45">1) Generate a statistically calibrated flow data set (3000 flows spread over six equal-numbered varieties).</p>
      <p id="_paragraph-46">2) Extracting the nine properties shown in Table 2 of each flow.</p>
      <p id="_paragraph-47">3) Coding items, data division (75% training / 25% test) in a class manner, and standardization of sensitive models.</p>
      <p id="_paragraph-48"> 4) Decision Tree, Random Forest, SVM, KNN, with the parameters described in Section 3.4.</p>
      <p id="_paragraph-49">5) Evaluation of each model on the independent testing group, as well as the implementation of the 5-fold cross verification on training data.</p>
      <p id="_paragraph-50">6) Confusion Matrix generates the best performing model, and a graphic importance graph of the random jungle model.</p>
      <p id="_paragraph-51">The total training data volume was 2250 flows, and the test data was 750 flows, with approximately 125 test flows per item, ensuring sufficient representation for each category when calculating the evaluation criteria. The design of the reproducibility was taken into account in the design of the experiment, by installing the random seed seed = 42, in all stages of data generation, training and division.</p>
    </sec>
    <sec id="heading-9a6ce0ed87a2c28134c1ec5576ca7419">
      <title>
        <bold id="_bold-24">5. Results and Discussion</bold>
      </title>
      <p id="_paragraph-53">
        <bold id="_bold-25">5.1 </bold>
        <bold id="_bold-26">Comparative Performance Results</bold>
      </p>
      <p id="_paragraph-54">Table 3 presents the quantitative assessment results of all four models on the independent testing group, along with the average and cross-verification accuracy (5-fold) on training data.</p>
      <table-wrap id="tbl3">
        <label>Table 3</label>
        <caption>
          <p id="_paragraph-55"/>
        </caption>
        <table id="_table-3">
          <tbody>
            <tr id="table-row-f90a92411e122cbab04f4589b0adc03f">
              <td id="27743ed150e270759c0ce66434703815">
                <bold id="_bold-27">model </bold>
              </td>
              <td id="51a489e6f9c149108e3aa979623fccc5">
                <bold id="_bold-28">Accuracy</bold>
              </td>
              <td id="934da21180f6c8e41f34c807d5edab19">
                <bold id="_bold-29">Precision</bold>
              </td>
              <td id="bd6b87c538a7f9c4b5391064cc249e25">
                <bold id="_bold-30">Recall</bold>
              </td>
              <td id="e1ab50ca0ddfc1ea78852ec474d455ba">
                <bold id="_bold-31">F1-Score</bold>
              </td>
              <td id="4ec72352f9992a63885023800c84aabb">
                <bold id="_bold-32">Cross-validation accuracy</bold>
                <bold id="_bold-33">CV (5-fold) </bold>
              </td>
            </tr>
            <tr id="table-row-2cce9448f4ddbf50c94eb3544a180887">
              <td id="d7f7b814280dd8e811d4517d5ec72331">
                <bold id="_bold-34">Decision Tree</bold>
              </td>
              <td id="a7139027d3d1bbc622f4d30074e7239b">97.07%</td>
              <td id="e0e5691cb049d37a4c4201b94599280a">97.08%</td>
              <td id="c3b1980f8f46d48887b300bba78b0c97">97.07%</td>
              <td id="92e34d6cd4a2c4644026a5a5390804d4">97.07%</td>
              <td id="0a285e951cdeb1ae402087579de6fdd1">95.11% ± 0.58%</td>
            </tr>
            <tr id="table-row-86e3ef95c47e5e09948555a1dbf12516">
              <td id="2c26dafdfaba97ab3de8896366c4baa5">
                <bold id="_bold-35">Random Forest</bold>
              </td>
              <td id="8134d009b6e9a8602622f67408c80877">97.87%</td>
              <td id="7fd52c68ddb1786cb00b8ee62a52d9c9">97.92%</td>
              <td id="8188312cc1dc07ae6dc2d2d4db23b567">97.87%</td>
              <td id="a73e4e21bcaf4f768485b1935c7267c3">97.87%</td>
              <td id="ea8c00bce6bf13c6311864e09db85209">97.69% ± 0.78%</td>
            </tr>
            <tr id="table-row-b5c066100d3ff97d90f61c1aa6c302ca">
              <td id="eb8be2ae5a8b21945f7978690310f8c2">
                <bold id="_bold-36">SVM (RBF Kernel</bold>
                <bold id="_bold-37">)</bold>
              </td>
              <td id="058d5d43eec2d2212c09140615ed03a4">94.40%</td>
              <td id="02b3e0b8a9a6dba0fd50ecb79e7973c8">94.44%</td>
              <td id="0c66224c4d4ed7df75079d9784aefaac">94.40%</td>
              <td id="acc77dc9ad969f1e1b073b55229da24b">94.40%</td>
              <td id="b508030c213d63b5416e0edce1d99c62">94.58% ± 0.71%</td>
            </tr>
            <tr id="table-row-3bfe65743188b1e221a237564ce1fc28">
              <td id="fcf18ad14db57cd0b6a24b22a8816489">
                <bold id="_bold-38">KNN (k = 7</bold>
                <bold id="_bold-39">)</bold>
              </td>
              <td id="4af2a5e3ffb40e3c6d113db8913799bd">90.13%</td>
              <td id="9fbacc8404969e33d26af5d8317c9989">90.31%</td>
              <td id="3634cd3c9f6bc259c571553bc19d846b">90.13%</td>
              <td id="dbfbd85cceb29335853bb68376accb96">90.09%</td>
              <td id="11227ac69d3f671eb13d270c827b00d5">90.89% ± 0.96%</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p id="_paragraph-56">Table 3: Compare the performance of the four classification models on the test group</p>
      <fig id="fig1">
        <label>Figure 1</label>
        <caption>
          <p id="_paragraph-57"/>
        </caption>
        <graphic id="_graphic-1" mimetype="image" mime-subtype="png" xlink:href="image1.png"/>
      </fig>
      <p id="_paragraph-58">Figure 1: A visual comparison between models in terms of overall accuracy and F1 score.</p>
      <p id="_paragraph-59">The results show that the Random Forest has achieved the best overall performance with 97.87% and F1 score of 97.87%, with the highest cross-verification stability (97.69%±0.78%), which is what It corresponds to what Salau and Beyene [9] reported of the superiority of aggregate tree models over individual models in network movement rating tasks within the SDN environment. The decision tree model came in second with a resolution of 97.07%, but the decrease in cross-verification accuracy compared to the test accuracy (95.11% versus 97.07%) indicates a higher degree of variance and greater sensitivity to the training sample change. In the random jungle, it is theoretically expected behavior that the random forest is originally designed to reduce the variation of the individual tree through the grouping.</p>
      <p id="_paragraph-60">On the other hand, the SVM model recorded an average resolution of 94.40%, a good performance that reflects the ability of the radial core (RBF) to represent the boundaries of non-linear separation between the varieties, but it remained below the level of the tree models in this experiment. KNN's algorithm has the lowest accuracy among the four models (90.13%), most likely due to its extreme sensitivity to local overlap between data points near the boundaries of the separation between statistically similar varieties, such as VoIP. and Gaming, which share similar ranges of packages and UDP.</p>
      <p id="_paragraph-61">
        <bold id="_bold-40">5.2 </bold>
        <bold id="_bold-41">Analysis of Confusion Matrix </bold>
      </p>
      <p id="_paragraph-62">To understand the error patterns more accurately, the Confusion Matrix was extracted for the random forest model as the best performer, as shown in Figure 2.</p>
      <fig id="fig2">
        <label>Figure 2</label>
        <caption>
          <p id="_paragraph-63"/>
        </caption>
        <graphic id="_graphic-2" mimetype="image" mime-subtype="png" xlink:href="image2.png"/>
      </fig>
      <p id="_paragraph-64">Figure 2: Random Forest on the Test Collection</p>
      <p id="_paragraph-65">The matrix of confusion reveals that most classification errors are concentrated between VoIP and Gaming, which corresponds to the previous theoretical observation. Both classes are similar in their partial dependence on the UDP protocol and the relatively high rate of exchange of small beams in a short time, unlike the clearer differences between varieties such as File_Transfer. and Email (with small packages and longer intervals).</p>
      <p id="_paragraph-66">
        <bold id="_bold-42">5.3 </bold>
        <bold id="_bold-43">Feature Importance</bold>
      </p>
      <p id="_paragraph-67">Figure 3 shows the ranking of the nine properties according to their relative importance in the decision of the random forest model.</p>
      <fig id="fig3">
        <label>Figure 3</label>
        <caption>
          <p id="_paragraph-68"/>
        </caption>
        <graphic id="_graphic-3" mimetype="image" mime-subtype="png" xlink:href="image3.png"/>
      </fig>
      <p id="_paragraph-69">Figure 3: The importance of relative characteristics according to the random forest model.</p>
      <p id="_paragraph-70">The results indicate that the byte_rate properties, the mean beam_packet_length, and the total_bytes are the most influential in the classification decision, which is a logical result. The networks are closely related to the nature of the application itself (e.g., its noticeable elevation in video broadcasting and the transfer of files versus its decline in e-mail and VoIP), which is consistent with the results reviewed by Lopez-Martin et al. [7] On the effectiveness of the time and volume characteristics in highlighting the networks of movement.</p>
      <p id="_paragraph-71">
        <bold id="_bold-44">5.4 </bold>
        <bold id="_bold-45">Comparison with Related Literature</bold>
      </p>
      <p id="_paragraph-72">The accuracy of the best model in this study (97.87%) falls within the range reported by recent studies to classify network movement based on statistical properties, which usually ranged between 90% and 99.5%, depending on the dataset, number of items and algorithm used. For example, Alshammari and Aleroud [14] recorded a resolution of 99.18% of the decision tree model on smart city network movement, while Elshewey and Osman [6] achieved a resolution of 99.49% using a compilation. A hierarchy of deep-encrypted HTTPS motion learning models, Antari et al. [4] reported 98.95% accuracy using the Transformer model on real institutional movement data. This comparison confirms that the findings in this research are consistent with the general trend documented in modern literature, supporting the reliability of the processing tube and the proposed classification.</p>
      <p id="_paragraph-73">
        <bold id="_bold-46">5.5 </bold>
        <bold id="_bold-47">Study Limitations</bold>
      </p>
      <p id="_paragraph-74">In spite of the positive results, this study involves a number of limitations that must be clearly recognized: first, rely on statistical calibration data rather than actual data captured from a real network or from certified reference datasets, due to the constraints of Internet access in an environment implementation; This calls for subsequent validation of results on realistic data. Second, the study is limited to only six types of data traffic, while real networks include dozens of various applications. Third, the failure to include deep learning models (such as bypass or repetitive networks) that have been proven in other studies [5] and [6] high competitiveness, especially with the entire encrypted data movement.</p>
    </sec>
    <sec id="heading-c71f05d0533bb353a52ed085402a5ce3">
      <title>
        <bold id="_bold-48">6.Conclusion and Future Work</bold>
      </title>
      <p id="_paragraph-76">This research provided an integrated applied study of network data traffic rating using machine learning techniques, including an actual design and implementation of a complete data processing pipeline, from the extraction of nine statistical flow properties, to pre-processing. And ending with training and evaluation of four classification models (Decision Tree, Random Forest, SVM, KNN). The results showed that the random jungle model had a 97.87% resolution and a similar F1 score, with high cross-verification stability, while the KNN algorithm achieved the lowest relative performance due to its sensitivity to the overlap between the statistically convergent cultivars such as VoIP and Gaming.</p>
      <p id="_paragraph-77">These results confirm that the statistical properties extracted from the flow level constitute an effective and applicable alternative to categorizing the movement of data, even in the absence of the ability to read the package, which makes this approach particularly suitable for the environments of modern networks. It is dominated by encryption protocols. To complete this work in the future, the researcher recommends the following:</p>
      <p id="_paragraph-78">1)) Validation of results obtained on real reference datasets such as ISCX VPN-NonvPN [11] and CICIDS2017, to ensure the ability to generalize the movement of actual networks.</p>
      <p id="_paragraph-79">2)) Expanding the study to include a larger number of application varieties, including IoT and SDN.</p>
      <p id="_paragraph-80">3)) Explore deep learning models (CNN, LSTM, Transformer) and compare them with the classic models used in this research, especially in dealing with the entire encrypted data movement.</p>
      <p id="_paragraph-81">4)) Study the performance of the proposed models in a real-time/online classification, rather than the post-Full Classification.</p>
    </sec>
  </body><back/></article>
