I m getting an error in predict function .
logsTest.preds <- predict(rf.cv1, logsTest.ngram.tfidf.df)
error: Error in eval(predvars, data, env) : object 'kimijima_pls' not found
the logsTest.ngram.tfidf.df dataframe does not even have that object . Even the logsTrain.ngram.tfidf.df doesnot have it which is used for making the model rf.cv1
i have used regular expressions to remove words like [.kimi.] and hence it doesnt show in colnames of logsTrain.ngram.tfidf.df and logsTest.ngram.tfidf.df