XGBoost and Random Forest Algorithms: An in Depth Analysis

Authors

  • Sana Fatima Software Engineering Department, NED University of Engineering & Technology, Karachi, Pakistan
  • Ayan Hussain Software Engineering Department, NED University of Engineering & Technology, Karachi, Pakistan
  • Sohaib Bin Amir Software Engineering Department, NED University of Engineering & Technology, Karachi, Pakistan
  • Muhammad Gulraiz Zahid Awan Electrical Engineering Department,National University of Computer and Emerging Sciences, Peshawar, Pakistan
  • Syed Haseeb Ahmed Software Engineering Department, NED University of Engineering & Technology, Karachi, Pakistan
  • Syed Muhammad Huzaifa Aslam Software Engineering Department, NED University of Engineering & Technology, Karachi, Pakistan

DOI:

https://doi.org/10.57041/vol3iss1pp26-31

Keywords:

Classification, regression, machine learning, artificial intelligence, Random forest, XG-Boost

Abstract

Machine learning is playing an increasingly important role in many facets of our lives as technology develops, including forecasting weather, figuring out social media trends, and predicting prices on the world market. This significance invoked the demand of some efficient predicting models that can easily handle complex data and provide maximum accurate results. XGBoost and Random Forest are upgradable ensemble techniques used to solve regression and classification problems that have evolved and proved to be dependable and reliable machine learning challenge solvers. In this research paper, we undertake a comprehensive analysis and comparison of these two prominent machine learning algorithms. The first half of the research includes relevant overview on both of the techniques, significance and evolution of both algorithms. The latter part of this study involves a meticulous comparative analysis between Random Forest and XGBoost, scrutinizing facets such as time complexity, precision, and reliability. We examine their distinctive approaches to handling regression and classification problems while closely examining their subtle handling of training and testing datasets. A thorough quantitative evaluation using a variety of performance metrics, such as the F1-score, Recall, Precision, Mean Squared Error.

Downloads

Published

2023-07-06

How to Cite

XGBoost and Random Forest Algorithms: An in Depth Analysis. (2023). Pakistan Journal of Scientific Research, 3(1), 26-31. https://doi.org/10.57041/vol3iss1pp26-31

Most read articles by the same author(s)