AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (3 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Article | Open Access

Machine Learning-Based Network Traffic Anomaly Detection in Smart Learning Environments

Ahmad Almufarreh1Rogaia Hassan Osman Hassan2,3Ashfaq Ahmad4Muhammad Arshad2,5( )Choo Wou Onn6
Deanship of Human Resources and Technology, Jazan University, Jazan, Saudi Arabia
UNICAF, Larnaca, Cyprus
University of East London, London, UK
Faculty of Basic Sciences, Lahore Garrison University, Lahore, Pakistan
School of Informatics and Cybersecurity, Technological University Dublin, Dublin, Ireland
Faculty of Data Science and Information Technology, INTI International University, Putra Nilai, Nilai, Malaysia
Show Author Information

Abstract

The explosive increase in connectivity has multiplied the volume and speed of network traffic, putting the world at greater risk from sophisticated and emerging cyber-attacks. Smart learning environments, which rely on cloud-based learning management systems, virtual classrooms, and interconnected educational devices, generate large volumes of dynamic network traffic that must be continuously monitored to protect sensitive academic data and ensure uninterrupted learning services. In this study, three supervised machine learning classifiers, namely Random Forest, Logistic Regression, and k-Nearest Neighbours (kNN), are designed and evaluated for anomaly detection using the UNSW-NB15 benchmark. Models are trained and evaluated using a comprehensive set of metrics, including accuracy, precision, recall, F1-score, ROC-AUC, and confusion matrix analysis, following rigorous preprocessing and stratified cross-validation. Consistent with observed patterns in the dataset, Random Forest achieves near-perfect detection accuracy with very low false alarm rates, kNN performs well with moderate error rates, and Logistic Regression shows comparatively lower performance. This study develops a reproducible anomaly detection pipeline and provides a comparative evaluation that highlights the conditions under which ensemble and instance-based models outperform linear approaches in high-dimensional network traffic analysis. These findings align with existing evidence highlighting the effectiveness of data-centric machine learning pipelines in improving decision-making in high-volume digital environments. In the context of smart learning environments, these models can support the development of intelligent intrusion detection systems capable of monitoring educational network infrastructures and identifying abnormal traffic patterns associated with cyber threats targeting digital learning platforms. The findings provide practical guidance for selecting machine learning models in intrusion detection systems where detection performance must be balanced with computational efficiency and deployment constraints.

References

【1】
【1】
 
 
Computers, Materials & Continua
Article number: 65

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Almufarreh A, Osman Hassan RH, Ahmad A, et al. Machine Learning-Based Network Traffic Anomaly Detection in Smart Learning Environments. Computers, Materials & Continua, 2026, 88(2): 65. https://doi.org/10.32604/cmc.2026.082264

17

Views

0

Downloads

0

Crossref

0

Web of Science

0

Scopus

Received: 12 March 2026
Accepted: 22 April 2026
Published: 15 June 2026
© The Author 2026.

This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.