Error: protect(): protection stack overflow while feature extraction

别说谁变了你拦得住时间么 提交于 2019-12-11 03:59:30

问题


I have a dataframe that has 4755 rows and 27199 columns. It's actually a document term matrix and I'm trying to perform feature selection using the "FSelector" package. Here is some of the code below:

library(FSelector)
weights <- information.gain(Flag~., dtmmatdf)

Each time I do this I get an error

Error: protect(): protection stack overflow

I have a 24GB RAM and the dataframe is about 500Mb in size. So I don't know what the problem is and how do I fix it?

来源:https://stackoverflow.com/questions/32187410/error-protect-protection-stack-overflow-while-feature-extraction

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!