search for: stsw

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

Did you mean: smsw
2004 Dec 10
1
predict.randomForest
...and then subset()'ing the known present/absent portion of the data.frame for the randomForest run and then using the other subset for the predict. This worked with test data, but then when I try it on a larger dataset (63,000 rows to predict), I get this error: Error in predict.randomForest(stsw.rf, stsw.out, type = "prob") : Type of predictors in new data do not match that of the training data. This is the error I was getting earlier, but I thought I had solved it by joining into one data.frame and subsetting. The values for each variable in the 'unknown' data...