R encountering fatal error and quitting the session
0
0
Entering edit mode
1 day ago

Hey everyone,

I am trying to run a multiple-output Random Forest prediction using the randomForestSRC package using the rfsrc() command. I'm trying to run with ntree = 10, using my response variables [ 21 ] using a dataframe of [ 3670x217 ].

Line of code I'm trying to execute:

#training the RF model
rf_model <- rfsrc(response_formula_subset, data = train_data, na.action = "na.omit", ntree = 10)

R keeps showing this message with the symbol of a bomb saying R encountered a fatal error, needs to quite session and asking to restart the session.

I tried using a subset of the data (as you can see in the code, the subset includes only 5 responses). There would be roughly just under 200 predictors.

Really helpful if someone can explain why this is happening!

Thanks in advance!

R randomForestSRC Random-forest • 160 views
ADD COMMENT
0
Entering edit mode

Looks like a memory related problem. Have you tried with save.memory = TRUE ?

ADD REPLY
0
Entering edit mode

Just tried it, displaying the same error and R crashes

ADD REPLY

Login before adding your answer.

Traffic: 1490 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6