Optimal Weighted Random Forests

Xinyu Chen, Dalei Yu, Xinyu Zhang
5/17/2023
stat.MLcs.LG

No official code found. Best implementation: XinyuChen-hey/Optimal-Weighted-Random-Forests (4 stars, BSD-2-Clause, last commit 2024-10-29).

Abstract

The random forest (RF) algorithm has become a very popular prediction method for its great flexibility and promising accuracy. In RF, it is conventional to put equal weights on all the base learners (trees) to aggregate their predictions. However, the predictive performances of different trees within the forest can be very different due to the randomization of the embedded bootstrap sampling and feature selection. In this paper, we focus on RF for regression and propose two optimal weighting algorithms, namely the 1 Step Optimal Weighted RF (1step-WRF$_\mathrm{opt}$) and 2 Steps Optimal Weighted RF (2steps-WRF$_\mathrm{opt}$), that combine the base learners through the weights determined by weight choice criteria. Under some regularity conditions, we show that these algorithms are asymptotically optimal in the sense that the resulting squared loss and risk are asymptotically identical to those of the infeasible but best possible model averaging estimator. Numerical studies conducted on real-world data sets indicate that these algorithms outperform the equal-weight forest and two other weighted RFs proposed in existing literature in most cases.

View on arXivView PDF

Code Implementations(1)

BSD-2-Clause

This repository contains the data sets and code for the paper "Optimal Weighted Random Forests," accepted by the Journal of Machine Learning Research (Volume 25, 2024, pp. 1-81).

41R, PythonOct 22, 20241 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{chen2023optimal,
  title  = {Optimal Weighted Random Forests},
  author = {Xinyu Chen and Dalei Yu and Xinyu Zhang},
  year   = {2023},
  eprint = {2305.10042},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.10042v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.10042.svg)](https://codeofpaper.com/paper/2305.10042)

Discussion