开始使用免费开始使用

拟合 Isolation Forest

Isolation Forest 由多棵 Isolation Tree 组成,使用的命令与上一课中训练单棵 Isolation Tree 完全相同。本练习将带您在 wine 数据上拟合一个 Isolation Forest。

在训练 Isolation Forest 时,您需要特别关注树的数量,以及用于生长每棵树的样本点数量。

本练习是课程的一部分

R 异常检测入门

查看课程

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Fit isolation forest
wine_forest <- iForest(___)
编辑并运行代码