1

我想执行离散化,以便为监督学习 R 执行基于互信息的特征选择。

library(dprep)
data(iris)
iris.discme=disc.mentr(my.iris,1:5)

我收到以下错误:

.C("Points", as.double(x), as.integer(n), mpoint = double(n), 中的错误:"Points" 不适用于包 "dprep" 的 .C()

任何帮助,将不胜感激。

4

1 回答 1

0

这看起来像是库“dprep”中的一个错误。该错误告诉您没有名为“Points”的 C 函数,即使 disc.mentr() 尝试调用此函数。我会通知 dprep 的作者。

我只是查看了 CRAN,并没有看到一个名为“dprep”的库。如果它更早可用,那可能是它已被删除的迹象。

于 2015-06-26T00:07:45.857 回答