journal article·2023-05-17Open access

A Fast Parallel Random Forest Algorithm Based on Spark

Linzi Yin, Ken Chen, Zhaohui Jiang, Xuemei Xu

Applied Sciences· Volume 13· Issue 10

Abstract

To improve the computational efficiency and classification accuracy in the context of big data, an optimized parallel random forest algorithm is proposed based on the Spark computing framework. First, a new Gini coefficient is defined to reduce the impact of feature redundancy for higher classification accuracy. Next, to reduce the number of candidate split points and Gini coefficient calculations for continuous features, an approximate equal-frequency binning method is proposed to determine the optimal split points efficiently. Finally, based on Apache Spark computing framework, the forest sampling index (FSI) table is defined to speed up the parallel training process of decision trees and reduce data communication overhead. Experimental results show that the proposed algorithm improves the efficiency of constructing random forests while ensuring classification accuracy, and is superior to Spark-MLRF in terms of performance and scalability.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Machine Learning and Data Classification · Anomaly Detection Techniques and Applications · Rough Sets and Fuzzy Logic

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Physics and Electronics, Central South University, Changsha 410012, China

School of Automation, Central South University, Changsha 410012, China

Funding

National Natural Science Foundation of China · Provincial Natural Science Foundation of Hunan · Central South University

References (31)

Show source-provided references
2. Sensitivity and specificity of information criteria10.1093/bib/bbz016 ↗
3. Ali, M.A.S., Orban, R., and Rajammal Ramasamy, R. (2022). A Novel Method for Survival Prediction of Hepatocellular Carcinoma Using Feature-Selection Techniques. Appl. Sci., 12.10.3390/app12136427 ↗
4. Phan, T.N., Kuch, V., and Lehnert, L.W. (2020). Land Cover Classification using Google Earth Engine and Random Forest Classifier—The Role of Image Composition. Remote Sens., 12.10.3390/rs12152411 ↗
5. Zheng, X., Jia, J., Chen, J., Guo, S., Sun, L., Zhou, C., and Wang, Y. (2022). Hyperspectral Image Classification with Imbalanced Data Based on Semi-Supervised Learning. Appl. Sci., 12.10.3390/app12083943 ↗
6. Khan, S.N., Li, D., and Maimaitijiang, M. (2022). A Geographically Weighted Random Forest Approach to Predict Corn Yield in the US Corn Belt. Remote Sens., 14.10.3390/rs14122843 ↗
7. Fuzzy parameterized fuzzy soft k-nearest neighbor classifier10.1016/j.neucom.2022.05.041 ↗
8. Zayed, Y., Salman, Y., and Hasasneh, A. (2022). A Recommendation System for Selecting the Appropriate Undergraduate Program at Higher Education Institutions Using Graduate Student Data. Appl. Sci., 12.10.3390/app122412525 ↗
9. Classification using streaming random forests10.1109/TKDE.2010.36 ↗
10. An improved Id3 algorithm for medical data classification10.1016/j.compeleceng.2017.08.005 ↗
11. Efficient C4. 5 [classification algorithm]10.1109/69.991727 ↗
12. C_CART: An instance confidence-based decision tree algorithm for classification10.3233/IDA-205361 ↗
13. A new multilevel CART algorithm for multilevel data with binary outcomes10.1080/00273171.2018.1552555 ↗
14. Motor fault detection and diagnosis using a hybrid FMM-CART model with online learning10.1007/s10845-014-0950-3 ↗
15. Classification and regression trees
16. Assunçao, J., Fernandes, P., and Lopes, L. (2013, January 6–9). Distributed Stochastic Aware Random Forests—Efficient Data Mining for Big Data. Proceedings of the IEEE International Congress on Big Data, Santa Clara, CA, USA.10.1109/BigData.Congress.2013.68 ↗
17. Random forests for big data10.1016/j.bdr.2017.07.003 ↗
18. On the use of MapReduce for imbalanced big data using Random Forest10.1016/j.ins.2014.03.043 ↗
19. A Pearson’s correlation coefficient based decision tree and its parallel implementation10.1016/j.ins.2017.12.059 ↗
20. MapReduce-based improved random forest model for massive educational data processing and classification10.1007/s11036-020-01699-w ↗
21. A parallel random forest algorithm for big data in a spark cloud computing environment10.1109/TPDS.2016.2603511 ↗
22. Mining big data with random forests10.1007/s12559-018-9615-4 ↗
23. Apache Spark (2023, March 21). Spark Mllib-Random Forest. Available online: http://spark.apache.org/docs/latest/mllib-ensembles.html.
24. Survey on Hadoop and spark application scenarios
25. University of California (2023, March 21). Uci Machine Learning Repository. Available online: http://archive.ics.uci.edu/ml/datasets.
26. Rotation forest based on multimodal genetic algorithm10.1007/s11771-021-4730-x ↗
27. A new classification method using soft decision-making based on an aggregation operator of fuzzy parameterized fuzzy soft matrices10.55730/1300-0632.3816 ↗
28. Naive bayesian classifier
29. Statistical comparisons of classifiers over multiple data sets
30. A fast parallel attribute reduction algorithm using Apache Spark10.1016/j.knosys.2020.106582 ↗
31. Large-scale image retrieval solution based on Hadoop cloud computing platform