如何在confusionmatrix中找到相关变量/特征?

时间:2018-04-23 14:03:29

标签: r random-forest confusion-matrix

我有一个带有二项式输出的数据帧(df)。我将我的df分解为R中的训练和testdata。我使用了randomforest,我的confusionmatrix给了我以下输出:

参考(水平)

预测(垂直)

___ 0 _ 1

0 _ 34 _ 3

1 _ 800 _ 10000

我不会分析准确性,那些'800'也不会打扰我,但我想找出哪些特征与预测值0有关。我可以使用代码:important(fitRF,type = 2)

但我想知道0级的具体相关功能。有人可以帮助我吗?

提前致谢。

0 个答案:

没有答案