Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gbm in R crashes

Tags:

r

rstudio

gbm

I tried to use gbm(formula, data) in Rstudio on my dataset. But Rstudio crashes on windows and Mac without any message (just " Rstudio needs to restart"). Any idea how I can fix this issue?

thanks

like image 343
user2327621 Avatar asked Apr 28 '15 18:04

user2327621


1 Answers

I had that issue when my classification response was set to factor. Changing response to numeric resolved it.

like image 68
Jazz Avatar answered Nov 04 '22 22:11

Jazz