Classifying UNSW-NB15 Network Traffic in the Big Data Framework using Random Forest in Spark

{"title":"Classifying UNSW-NB15 Network Traffic in the Big Data Framework using Random Forest in Spark","authors":"","doi":"10.4018/ijbdia.287617","DOIUrl":null,"url":null,"abstract":"The focus of this work is on detecting and classifying attacks in network traffic using a binary as well as multi-class machine learning classifier, Random Forest, in a distributed Big Data environment using Apache Spark. The classifier is tested using the UNSW-NB15 dataset. Major problems in these types of datasets include high dimensionality and imbalanced data. To address the issue of high dimensionality, both Information Gain as well as Principal Components Analysis (PCA) were applied before training and testing the data using Random Forest in Apache Spark. Binary as well as multi-class Random Forest classifiers were compared in a distributed environment, with and without using PCA, using various number of Spark cores and Random Forest trees, in terms of performance time and statistical measures. The highest accuracy was obtained by the binary classifier at 99.94%, using 8 cores and 30 trees. This study obtained higher accuracy and lower FAR rates than previously achieved, with low testing times.","PeriodicalId":272065,"journal":{"name":"International Journal of Big Data Intelligence and Applications","volume":"51 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Big Data Intelligence and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/ijbdia.287617","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

The focus of this work is on detecting and classifying attacks in network traffic using a binary as well as multi-class machine learning classifier, Random Forest, in a distributed Big Data environment using Apache Spark. The classifier is tested using the UNSW-NB15 dataset. Major problems in these types of datasets include high dimensionality and imbalanced data. To address the issue of high dimensionality, both Information Gain as well as Principal Components Analysis (PCA) were applied before training and testing the data using Random Forest in Apache Spark. Binary as well as multi-class Random Forest classifiers were compared in a distributed environment, with and without using PCA, using various number of Spark cores and Random Forest trees, in terms of performance time and statistical measures. The highest accuracy was obtained by the binary classifier at 99.94%, using 8 cores and 30 trees. This study obtained higher accuracy and lower FAR rates than previously achieved, with low testing times.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于Spark随机森林的大数据框架下UNSW-NB15网络流量分类
这项工作的重点是在使用Apache Spark的分布式大数据环境中,使用二进制和多类机器学习分类器Random Forest来检测和分类网络流量中的攻击。使用UNSW-NB15数据集对分类器进行测试。这类数据集的主要问题是数据的高维性和不平衡性。为了解决高维问题,在使用Apache Spark中的Random Forest对数据进行训练和测试之前,同时应用了信息增益和主成分分析(PCA)。在分布式环境下,使用和不使用PCA,使用不同数量的Spark内核和Random Forest树,比较了二元和多类Random Forest分类器在性能时间和统计度量方面的性能。使用8个核和30棵树,二值分类器的准确率最高,达到99.94%。该研究以较低的测试时间获得了比以前更高的准确性和更低的FAR率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Considerations for the Effective National CDO Policy A LIGHTWEIGHT SYSTEM TOWARDS VIEWING ANGLE AND CLOTHING VARIATION IN GAIT RECOGNITION Classifying UNSW-NB15 Network Traffic in the Big Data Framework using Random Forest in Spark
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1