anonymous
anonymous

Reputation: 405

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

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?

Upvotes: 3

Views: 4445

Answers (0)

Related Questions