arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.03515stat.MLcs.LG
收藏

随机森林的超参数及其调整策略

Hyperparameters and Tuning Strategies for Random Forest

Philipp Probst, Marvin Wright, Anne-Laure Boulesteix

摘要:

随机森林算法(RF)具有必须由用户设置的若干超参数,例如,为每棵树随机抽取的观测值的数量,以及它们是在有替换还是没有替换的情况下抽取的,为每次分裂随机抽取的变量的数量,分裂规则,节点必须包含的样本的最小数量以及树的数量。在本文中,我们首先提供了一个文献综述的参数的影响,预测性能和变量的重要性措施。众所周知,在大多数情况下,RF与软件包中指定的超参数的默认值一起工作得相当好。然而,调整超参数可以提高RF的性能。在本文的第二部分中,在简要概述了调优策略之后,我们演示了最成熟的调优策略之一基于模型的优化(MBO)的应用。为了使其更易于使用,我们提供了tuneRanger R软件包,可以自动使用MBO调谐RF。在对几个数据集的基准研究中,我们比较了tuneRanger的预测性能和运行时间与R和RF中使用默认超参数的其他调优实现。

英文摘要:

The random forest algorithm (RF) has several hyperparameters that have to be set by the user, e.g., the number of observations drawn randomly for each tree and whether they are drawn with or without replacement, the number of variables drawn randomly for each split, the splitting rule, the minimum number of samples that a node must contain and the number of trees. In this paper, we first provide a literature review on the parameters' influence on the prediction performance and on variable importance measures. It is well known that in most cases RF works reasonably well with the default values of the hyperparameters specified in software packages. Nevertheless, tuning the hyperparameters can improve the performance of RF. In the second part of this paper, after a brief overview of tuning strategies we demonstrate the application of one of the most established tuning strategies, model-based optimization (MBO). To make it easier to use, we provide the tuneRanger R package that tunes RF with MBO automatically. In a benchmark study on several datasets, we compare the prediction performance and runtime of tuneRanger with other tuning implementations in R and RF with default hyperparameters.

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

↑