Open Access iconOpen Access

ARTICLE

Overfitting in Machine Learning: A Comparative Analysis of Decision Trees and Random Forests

by Erblin Halabaku, Eliot Bytyçi*

Department of Mathematics, Faculty of Mathematical and Natural Sciences, University of Prishtina, Prishtina, 10000, Kosovo

* Corresponding Author: Eliot Bytyçi. Email: email

Intelligent Automation & Soft Computing 2024, 39(6), 987-1006. https://doi.org/10.32604/iasc.2024.059429

Abstract

Machine learning has emerged as a pivotal tool in deciphering and managing this excess of information in an era of abundant data. This paper presents a comprehensive analysis of machine learning algorithms, focusing on the structure and efficacy of random forests in mitigating overfitting—a prevalent issue in decision tree models. It also introduces a novel approach to enhancing decision tree performance through an optimized pruning method called Adaptive Cross-Validated Alpha CCP (ACV-CCP). This method refines traditional cost complexity pruning by streamlining the selection of the alpha parameter, leveraging cross-validation within the pruning process to achieve a reliable, computationally efficient alpha selection that generalizes well to unseen data. By enhancing computational efficiency and balancing model complexity, ACV-CCP allows decision trees to maintain predictive accuracy while minimizing overfitting, effectively narrowing the performance gap between decision trees and random forests. Our findings illustrate how ACV-CCP contributes to the robustness and applicability of decision trees, providing a valuable perspective on achieving computationally efficient and generalized machine learning models.

Keywords


Cite This Article

APA Style
Halabaku, E., Bytyçi, E. (2024). Overfitting in machine learning: A comparative analysis of decision trees and random forests. Intelligent Automation & Soft Computing, 39(6), 987-1006. https://doi.org/10.32604/iasc.2024.059429
Vancouver Style
Halabaku E, Bytyçi E. Overfitting in machine learning: A comparative analysis of decision trees and random forests. Intell Automat Soft Comput . 2024;39(6):987-1006 https://doi.org/10.32604/iasc.2024.059429
IEEE Style
E. Halabaku and E. Bytyçi, “Overfitting in Machine Learning: A Comparative Analysis of Decision Trees and Random Forests,” Intell. Automat. Soft Comput. , vol. 39, no. 6, pp. 987-1006, 2024. https://doi.org/10.32604/iasc.2024.059429



cc Copyright © 2024 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 328

    View

  • 68

    Download

  • 0

    Like

Share Link