arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1705.05654stat.MLcs.LG
收藏

调整还是不调整随机森林中的树的数量?

To tune or not to tune the number of trees in random forest?

Institut für medizinische Informationsverarbeitung, Biometrie und Epidemiologie(医学信息处理、生物统计学与流行病学研究所)

Philipp Probst, Anne-Laure Boulesteix

摘要:

用于监督学习的随机森林(RF)算法中的树的数量T必须由用户设置。有争议的是,T是否应该简单地设置为计算上可管理的最大值,或者在某些情况下较小的T是否可能更好。虽然装袋的基本原则是“树越多越好”,但在实践中,分类错误率有时会达到最小值,然后随着树的数量增加而再次增加。本文的目标有四个方面:(1)提供理论结果,表明期望错误率可能是树数的非单调函数,并解释在什么情况下会发生这种情况;(ii)提供理论结果,显示在其他表现量度(例如Brier分数及对数损失)中,不能观察到该等非单调模式(用于分类)和均方误差(用于回归);(iii)通过应用于来自公共数据库OpenML的大量(n = 306)数据集来说明问题的程度;(iv)最后,根据所需性能度量的收敛特性,主张将其设置为计算上可行的大数值。

英文摘要:

The number of trees T in the random forest (RF) algorithm for supervised learning has to be set by the user. It is controversial whether T should simply be set to the largest computationally manageable value or whether a smaller T may in some cases be better. While the principle underlying bagging is that "more trees are better", in practice the classification error rate sometimes reaches a minimum before increasing again for increasing number of trees. The goal of this paper is four-fold: (i) providing theoretical results showing that the expected error rate may be a non-monotonous function of the number of trees and explaining under which circumstances this happens; (ii) providing theoretical results showing that such non-monotonous patterns cannot be observed for other performance measures such as the Brier score and the logarithmic loss (for classification) and the mean squared error (for regression); (iii) illustrating the extent of the problem through an application to a large number (n = 306) of datasets from the public database OpenML; (iv) finally arguing in favor of setting it to a computationally feasible large number, depending on convergence properties of the desired performance measure.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑