JOIV : International Journal on Informatics Visualization
Vol 9, No 6 (2025)

Optimizing Machine Learning Models for Anomaly-based IDS using Intercorrelation Threshold

Wahyu Adi, Prajanto (Unknown)
Sugiharto, Aris (Unknown)
Malik Hakim, Muhammad (Unknown)
Rizki Saputra, Naufal (Unknown)
Hanif Setiawan, Syariful (Unknown)



Article Info

Publish Date
30 Nov 2025

Abstract

This study aims to improve the performance of attack detection on the Bot-IoT dataset that faces class imbalance. The method used involves developing a feature selection model based on the Pearson correlation coefficient between features, with an adaptive threshold applied. The datasets used consist of two types: D1, with the 10 best features, and D2, with all features. The oversampling technique is applied to the minority class, followed by calculating feature correlations to determine the best feature using a threshold based on the average of the highest and lowest correlations. The feature selection process is carried out iteratively, with performance testing across several machine learning algorithms, including KNN, Random Forest, Logistic Regression, and SVM. The results show that the proposed feature selection method can improve the performance of the minority class without sacrificing the majority class's performance. On the D1 dataset, the Random Forest algorithm achieved 96% accuracy, while KNN achieved 93%. On the D2 dataset, KNN achieved balanced performance, with average precision, recall, and F1-score of 0.99 for both classes, while Random Forest achieved lower results on the minority class. The implications of this study indicate that correlation-based feature selection can improve attack detection performance on datasets with high class imbalance, and it can be implemented in future studies to address similar problems in IoT-based intrusion detection systems.

Copyrights © 2025






Journal Info

Abbrev

joiv

Publisher

Subject

Computer Science & IT

Description

JOIV : International Journal on Informatics Visualization is an international peer-reviewed journal dedicated to interchange for the results of high quality research in all aspect of Computer Science, Computer Engineering, Information Technology and Visualization. The journal publishes state-of-art ...