search for: isbadbuy

Displaying 1 result from an estimated 1 matches for "isbadbuy".

2012 Apr 18
1
Can I use random Forest package?
...c. My response variable is binary and I have made sure that this is set as a factor with two levels and given each level a name "Yes" and "No". I would like to run the randomPackage to discover variable importance but when ever I try the following code: model <- randomForest(IsBadBuy~. , data = train, importance=TRUE, keep.forest=TRUE) I am given the response: Error in na.fail.default(list(IsBadBuy = c(1L, 1L, 1L, 2L, 1L, 1L, 1L, : missing values in object However, I have gone through all of my variables and I have no...