NA in randomForest

I have a question regarding NA in randomForest (in R). I have a data set that includes both numeric and non-numeric variables, and the data includes some NA. Anyone have any tips on how to handle this? I tried using na.roughfix but then got the error message "na.roughfix only works for numeric or multiplier". I also tried rfImpute, but this does not work because I have NA in my response variable. Does anyone have any clues?

+4
source share

Source: https://habr.com/ru/post/1401828/


All Articles