[R] problems with extractPrediction in package caret

Max Kuhn mxkuhn at gmail.com
Fri Jan 16 19:40:31 CET 2009


The issue is the usage of extractPrediction.

   expred <- extractPrediction(rftrain)

should really be

   expred <- extractPrediction(list(rftrain))

Since this function is intended to get predictions across multiple
models, the man file has a description of the first argument to teh
funtion being "a list of objects of the class train."

-- 

Max




More information about the R-help mailing list