Journal article · 2018 · Open access

On the overestimation of random forest’s out-of-bag error

Silke Janitza, Roman Hornung

PLoS ONE, 13(8), e0201904 · Published 6 August 2018 · DOI 10.1371/journal.pone.0201904

Open PDFView at the publisherCite this paper

In brief

“On the overestimation of random forest’s out-of-bag error” is a 2018 journal article by Silke Janitza and Roman Hornung, published in PLoS ONE. OpenAlex counts 334 citations as of 22 November 2026. It is open access under a CC BY licence: the full text is free to read at PLoS ONE.

Citations
334
Most cited in
2024 (65)
Field-weighted impact
9.48
References
51
Authors
2

Abstract

The ensemble method random forests has become a popular classification tool in bioinformatics and related fields. The out-of-bag error is an error estimation technique often used to evaluate the accuracy of a random forest and to select appropriate values for tuning parameters, such as the number of candidate predictors that are randomly drawn for a split, referred to as mtry. However, for binary classification problems with metric predictors it has been shown that the out-of-bag error can overestimate the true prediction error depending on the choices of random forests parameters. Based on simulated and real data this paper aims to identify settings for which this overestimation is likely. It is, moreover, questionable whether the out-of-bag error can be used in classification tasks for selecting tuning parameters like mtry, because the overestimation is seen to depend on the parameter mtry. The simulation-based and real-data based studies with metric predictor variables performed in this paper show that the overestimation is largest in balanced settings and in settings with few observations, a large number of predictor variables, small correlations between predictors and weak effects. There was hardly any impact of the overestimation on tuning parameter selection. However, although the prediction performance of random forests was not substantially affected when using the out-of-bag error for tuning parameter selection in the present studies, one cannot be sure that this applies to all future data. For settings with metric predictor variables it is therefore strongly recommended to use stratified subsampling with sampling fractions that are proportional to the class sizes for both tuning parameter selection and error estimation in random forests. This yielded less biased estimates of the true prediction error. In unbalanced settings, in which there is a strong interest in predicting observations from the smaller classes well, sampling the same number of observations from each class is a promising alternative.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Janitza, S., & Hornung, R. (2018). On the overestimation of random forest’s out-of-bag error. PLoS ONE, 13(8), e0201904. https://doi.org/10.1371/journal.pone.0201904

MLA 9

Janitza, Silke, and Roman Hornung. “On the overestimation of random forest’s out-of-bag error.” PLoS ONE, vol. 13, no. 8, 2018, p. e0201904. https://doi.org/10.1371/journal.pone.0201904.

Chicago

Janitza, Silke and Roman Hornung. 2018. “On the overestimation of random forest’s out-of-bag error.” PLoS ONE 13 (8): e0201904. https://doi.org/10.1371/journal.pone.0201904.

Harvard

Janitza, S. and Hornung, R. (2018) ‘On the overestimation of random forest’s out-of-bag error’, PLoS ONE, 13(8), p. e0201904. doi:10.1371/journal.pone.0201904.

IEEE

S. Janitza and R. Hornung, “On the overestimation of random forest’s out-of-bag error,” PLoS ONE, vol. 13, no. 8, p. e0201904, 2018, doi: 10.1371/journal.pone.0201904.

BibTeX

@article{janitza2018overestimation,
  title     = {{On the overestimation of random forest’s out-of-bag error}},
  author    = {Janitza, Silke and Hornung, Roman},
  journal   = {PLoS ONE},
  year      = {2018},
  volume    = {13},
  number    = {8},
  pages     = {e0201904},
  doi       = {10.1371/journal.pone.0201904},
  url       = {https://doi.org/10.1371/journal.pone.0201904}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
201711
20191414
20202929
20214545
20223232
20234949
20246565
20255050
20264949

Its field-weighted citation impact is 9.48: it has been cited 9.48 times as often as the average work of the same field, type and year (1.00 is the world average).

Topic and keywords

Physical Sciences › Computer Science › Artificial Intelligence › Imbalanced Data Classification Techniques

  • random forest
  • out-of-bag error
  • binary classification
  • class imbalance
  • prediction error estimation
  • ensemble methods

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Janitza, S., & Hornung, R. (2018). On the overestimation of random forest’s out-of-bag error. PLoS ONE, 13(8), e0201904. https://doi.org/10.1371/journal.pone.0201904

How many times has this paper been cited?

334 times, according to OpenAlex on 22 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at PLoS ONE: sign in and open the PDF from this page.

Who wrote this paper?

Silke Janitza, Roman Hornung.

What is the DOI of this paper?

10.1371/journal.pone.0201904, permanently at https://doi.org/10.1371/journal.pone.0201904. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 22 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.