2024-05-20 16:05:52 发布
网友
据我所知,来自{}的{}通过进行随机拆分而工作,而不是最小化分类的基尼或回归的mae等度量
我不明白为什么会有criterion参数,因为分割的标准应该是随机的
criterion
这仅仅是为了代码兼容性,还是我遗漏了什么
我想你误解了这些分裂是随机的。根据User Guide对于极随机树:
As in random forests, a random subset of candidate features is used, but instead of looking for the most discriminative thresholds,thresholds are drawn at random for each candidate featureandthe best of these randomly-generated thresholds is picked as the splitting rule.
As in random forests, a random subset of candidate features is used, but instead of looking for the most discriminative thresholds,
thresholds are drawn at random for each candidate feature
and
the best of these randomly-generated thresholds is picked as the splitting rule.
附加的ExtraTreesRegressor随机化涉及候选特征的阈值。但仍然必须确定哪一个提供了最佳分割。这就是为什么您仍然需要一个criterion来指定函数来评估分割的质量
ExtraTreesRegressor
我想你误解了这些分裂是随机的。根据User Guide对于极随机树:
附加的
ExtraTreesRegressor
随机化涉及候选特征的阈值。但仍然必须确定哪一个提供了最佳分割。这就是为什么您仍然需要一个criterion
来指定函数来评估分割的质量相关问题 更多 >
编程相关推荐