christinehiroki
christinehiroki

Reputation: 1

Error while executing randomForest when the number of trees are increased beyond a certain number

I was running radomForest model. The model is running fine till 722 trees. But if I increase the number of trees to more than 722, I’m getting the below error:

Error message

Since the model is running fine till 722 trees, I was wondering if it could be a memory issue. Do you think there is any way to validate this or find out what the error is?

Please find below the details of the dataset: • File size: 63MB • # of obs.: 742,599 • # of columns: 17 (all numeric expect for the response variable)

Upvotes: 0

Views: 47

Answers (1)

Rafael Díaz
Rafael Díaz

Reputation: 2289

You are using the randomForest package?, another option would be to use spark.randomForest {SparkR} or h2o.randomForest, these packages offer greater capacity of execution in big data, in the following link they compared the algorithms of random forest for observations of 10 million, the best options are h2o and xgboost.

Upvotes: 1

Related Questions