[R] Caret

TJUN KIAT TEO teotjunk at hotmail.com
Thu Dec 3 03:41:36 CET 2015

I tried using Caret with no cross validation, training on the whole data set. Here is my code

Fit <- train(Result ~ ., data = FitData,
             method = method,
             #trControl = FitControl,
             verbose = FALSE)
             #tuneGrid = Grid)

Error in train.default(x, y, weights = w, ...) : 
  Only one model should be specified in tuneGrid with no resampling

Wonder if anyone can help. 


Tjun Kiat

	[[alternative HTML version deleted]]

More information about the R-help mailing list