Improved Performance of Intrusion Detection Systems using Feature Reduction and J48 Decision Tree Classification Algorithm

  • Oluwakemi C. Abikoye
  • Abdullateef Gbenga Balogun Department of Computer Science, University of Ilorin, Ilorin
  • A.R. Olarewaju Department of Computer Science, University of Ilorin, Ilorin
  • Amos O. Bajeh Department of Computer Science, University of Ilorin, Ilorin
Keywords: IDS, Feature reduction, data mining, classification, decision tree, gain ratio


Due to the obvious importance of accuracy in the performance of intrusion detection system, in addition to the  algorithms used there is an increasing need for more activities to be carried out, aiming for improved accuracy and reduced real time used in detection. This paper investigates the use of filtered dataset on the performance of J48 Decision Tree classifier in its classification of a connection as either normal or an attack. The reduced dataset is based on using Gain Ratio attribute evaluation technique (entropy) for performing feature selection (removal of redundant attributes) and feeding the filtered dataset into a J48 Decision Tree algorithm for classification. A 10-fold cross validation
technique was used for the performance evaluation of the J48 Decision Tree classifier on the KDD cup 1999 dataset and simulated in WEKA tool. The results showed J48 decision tree algorithm performed better in terms of accuracy and false positive report on the reduced dataset than the full dataset(Probing full dataset: 97.8%, Probing reduced dataset:  99.5%, U2R full dataset: 75%, reduced dataset: 76.9%, R2L full dataset: 98.0%, reduced dataset: 98.3%).


Adsul, A. P., Danke, P., Jagdale, M., Chaudhari, K., & Jadhav, S. (2014),
“Attacks Classification in Network Intrusion Detection System Using
ANN”, IJAIEM, Vol. 3, Issue 4, April 2014
Aida, O. A., Ahmed, S., & Tamer R. (2010), “Multilayer perceptrons
networks for an Intelligent Adaptive intrusion detection system”,
IJCSNS, Vol. 10, No. 2, February 2010.
Balogun, A. O., Balogun, A. M., Adeyemo, V. E., & Sadiku, P. O. (2015): A
Network Intrusion Detection System: Enhanced Classification via
Clustering Model. Computing, Information System Development
Informatics & Allied Research Journals. 6(4):53-58.
Balogun, A. O., & Jimoh, R.G. (2015): Anomaly Intrusion Detection Using
a Hybrid of Decision Tree and K-Nearest Neighbor. Journal of
Advances in Scientific Research & Applications (JASRA). 2(1): 67-74.
Balogun, A. O., Mabayoje M.A., Salihu, S. & Arinze, S.A. (2015): Enhanced
Classification Via Clustering Using Decision Tree for Feature
Selection. International Journal of Applied Information Systems
(IJAIS). 9(6):11-16.
Devikrishna, K. S., & Ramakrishna, B. B. (2013): “An Artificial Neural
Network based Intrusion Detection System and Classification of
Attacks” Vol. 3, Issue 4, Jul-Aug 2013.
D‟silva, M., & Vora, D. (2013) “Comparative Study of Data Mining
Techniques to Enhance Intrusion Detection”. IJERA, Vol. 3, Issue 1,
January – February 2013.
Hashemi, V. M., Muda, Z., & Yassin, W. (2013). “Improving intrusion
detection using genetic algorithm”. Inform. Technol. J., 12: 2167-
Heba, E. I., Sherif, M. B., & Mohamed A. S. (2012) “Adaptive Layered
Approach using Machine Learning Techniques with Gain Ratio for
Intrusion Detection Systems”. International Journal of Computer
Applications IJCA, Volume 56 – No.7, October 2012.
Hemant, P., Sarkhedi, B., & Vaghamshi, H. (2013) “Intrusion Detection in
Data Mining with Classification Algorithm”. IJAREEIE, Vol. 2,
Issue7, July 2013.
John, G. H., Kohavi, R. & Pfleger, K. (1994). ”Irrelevant features and the
subset selection problem”. In: Proceedings of the Eleventh
International Conference on Machine Learning, 1994.
Karim, M., & Rahman, R. M. (2013). ”Decision Tree and Naïve Bayes
Algorithm for Classification and Generation of Actionable
Knowledge for Direct Marketing”. Journal of Software Engineering
and Applications. Vol.6, No.4, DOI:10.4236/jsea.2013.64025
KDD cup 1999 Computer network intrusion detection. network intrusion detection.
Mabayoje M.A., Akintola, A. G., Balogun, A. O & Ayilara, O. (2015): Gain
Ratio and Decision Tree Classifier for Intrusion Detection.
International Journal of Computer Applications (IJCA). 126(1):56-59
Mabayoje, M. A., Balogun, A. O., Salihu, S. A., & Oladipupo, K. R. (2015):
Comparative Analysis of Selected Supervised Classification
Algorithms. African Journal of Computing & ICTs. 8(3); 35-42.
Moradi, M. and Zulkernine, M (2004). Neural Network based System
for Intrusion Detection and Classification of Attacks”, Proceedin
gs of IEEE International Conference on Advances in Intelligent
Systems – Theory and Applications, Luxembourg, Vol. 148, pp. 1‐
6, 2004.
Mukkamala, S., Sung, A. H., & Abraham, A (2005). “Intrusion Detection
Using Ensemble of Soft computing Paradigms”. Journal of Networks
and Computer applications, 28: 167-182. doi:10.1016/j.jnca.2004.01.003
Mukkamala, S., Sung, A.H., Abraham, A., & Ramos, V. (2004). “Intrusion
detection systems using adaptive regression splines”. In: SerucaI,
Filipe, J., Hammoudi, S., Cordeiro, J., editors. Proceedings of the 6th
international conference on enterprise information systems, ICEIS’04,
vol.3, Portugal. 2004b. p.26–33[ISBN: 972-8865-007].
Nguyen, H. A., & Choi, D. (2008),”Application of Data Mining to Network
Intrusion Detection: Classifier Selection Model”, APNOMS ’08
Proceedings of the 11th Asia-Pacific Symposium on Network Operations
and Management: Challenges for Next Generation Network Operation
and Service Management, pp. 399 – 408.
Patcha, A. & Park, J. M. (2007). An overview of anomaly detection
techniques: Existing solutions and latest technological treads.
Computer Networks, 51: 3448-3470
Patel, R., Amit T., Amit G. (2012) “A Survey and Comparative Analysis of
Data Mining Techniques for Network Intrusion Detection
Systems”.IJSCE, Volume-2, Issue-1, March 2012.
Purva, A., & Priti, S. (2013), “Detecting and Classifying Attacks in
Network Intrusion Detection System Using Multi-layer Perceptron
Based on Artificial Neural Network” IJARCSSE, Vol. 3, Issue 6, June
Quinlan, J. R., (1986) Induction of Decision Trees, Machine Learning 1:
pp.81-106, Kluwer Academic Publishers, Boston.
Yogendra K. J. & Upendra (2012), “An efficient Intrusion Detection Based
on Decision Tree Classifier Using Feature Reduction”. IJSRP, Vol. 2,
Issue 1, January 2012.
How to Cite
Abikoye, O. C., Balogun, A. G., Olarewaju, A., & Bajeh, A. O. (2020). Improved Performance of Intrusion Detection Systems using Feature Reduction and J48 Decision Tree Classification Algorithm. Ilorin Journal of Computer Science and Information Technology, 1(1), 71 - 88. Retrieved from