Advances in Consumer Research
Issue 5 : 535-544
Original Article
A Lightweight PCA and Isolation Forest Based Anomaly Detection Approach Evaluated on the NSL KDD Dataset
1
Department of Computer Engineering, University of Colorado Denver
Abstract

 

This study presents a lightweight unsupervised anomaly detection approach for cloud network traffic using Principal Component Analysis and Isolation Forest. The objective is to examine the effect of dimensionality reduction on anomaly detection performance in high-dimensional network traffic. The proposed method applies PCA to reduce 38 numerical features to 20 principal components, retaining 91.97 percent variance after standardization. Isolation Forest is then trained using a contamination value of 0.25 derived from the dataset distribution. A Random Forest with SMOTE baseline is used for comparison. The model is evaluated on the NSL KDD benchmark dataset and achieves 72.87 percent accuracy and 86.75 percent attack precision with an average inference time of 12.4 milliseconds per instance. Comparative analysis demonstrates that the proposed framework outperforms a supervised Random Forest with SMOTE baseline in terms of F1-score while maintaining real-time performance. The results demonstrate that the suggested methodology offers an effective trade-off between the performance of anomaly detection and computational efficiency, and can be possible in the context of lightweight cloud traffic monitoring in controlled settings...

Keywords
Recommended Articles
Original Article
Determinants of Green Hydrogen Acceptance and Supply Chain Management: A Model-Based Study in Gorakhpur City, India
Original Article
Little Style, Lasting Influence: The Role of Perceived Sherub Marketing and Brand Awareness in Shaping Purchase Intention through Mini-Me Fashion Sharenting
...
Original Article
Influence of Workplace Resources on Affective Organisational Commitment: An Empirical Study of Recognition, Social Support, Job Satisfaction, and Self-Efficacy
Original Article
Contemporary Determinants of Consumer Behavior Towards Electric Vehicles in India: Integrating Awareness, Value Perceptions, and Barriers
Loading Image...
Volume 3, Issue 5
Citations
488 Views
339 Downloads
Share this article
© Copyright Advances in Consumer Research