1 Department of Cybersecurity, Faculty of Physical Sciences, Nnamdi Azikiwe University, Awka, Nigeria.
2 Department of Computer Science, Faculty of Physical Sciences, Nnamdi Azikiwe University, Awka, Nigeria.
3 Department of Software Engineering, Faculty of Physical Sciences, Nnamdi Azikiwe University, Awka, Nigeria.
4 Department of Computer Sciences, Faculty of Engineering and Technology, Abiola Ajimobi Technical University, Ibadan, Nigeria.
5 Department of Computer Science, Faculty of Computing, Southern Delta University, Ozoro, Delta, Nigeria.
World Journal of Advanced Engineering Technology and Sciences, 2026, 18(03), 124-139
Article DOI: 10.30574/wjaets.2026.18.3.0129
Received on 15 January 2026; revised on 01 March 2026; accepted on 02 March 2026
The rapid growth of interconnected devices in small office and home networks has introduced heightened cybersecurity risks, yet traditional Intrusion Detection Systems (IDS) often demand extensive computational resources, making them unsuitable for deployment in resource-constrained environments. This study presents the design, implementation, and evaluation of a lightweight machine learning-based IDS optimized for small networks with limited processing power and memory. The research employed the CICIDS2017 dataset as the primary benchmark, subjecting it to comprehensive preprocessing, including data cleaning, normalization, encoding, feature scaling, and dimensionality reduction through Principal Component Analysis (PCA). Multiple classical Machine Learning algorithms, including Decision Tree, Random Forest (pruned), Naïve Bayes, K-Nearest Neighbors, and Ridge Classifier, were implemented and comparatively evaluated. Performance metrics such as accuracy, precision, recall, F1-score, CPU utilization, memory usage, and latency were used for assessment. Results indicated that the Random Forest achieved the best balance between accuracy and efficiency with low false positive rates, and minimal computational requirements suitable for lightweight environments. The Random Forest was integrated into a Flask-based RESTful API and a Streamlit dashboard. By bridging machine learning techniques with practical deployment frameworks, it contributes a resource-efficient, scalable, and user-friendly security solution tailored to small enterprises and personal network environments.
Intrusion Detection System (Ids); Lightweight Machine Learning; Small Networks; Dashboard Cybersecurity; Ridge Classifier; Resource Constrained Network
Get Your e Certificate of Publication using below link
Preview Article PDF
Mayowa Samuel, Alade, Samuel Olujimi, Adejumo, Godspower Ifeanyi, Akawuku, Olatunde Ayodeji Akano, Aminu A. Olanrewaju, Godwin O and Osakwe. Machine learning-based intrusion detection for resource constrained networks. World Journal of Advanced Engineering Technology and Sciences, 2026, 18(03), 124-139. Article DOI: https://doi.org/10.30574/wjaets.2026.18.3.0129