search for: trainingframe

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

2013 Jun 11
1
Caret train with glmnet give me Error "arguments imply differing number of rows"
...ze I get the following error: Error en { : task 1 failed - "arguments imply differing number of rows: 9, 10" and several warnings like this one: 1: In eval(expr, envir, enclos) : model fit failed for Resample01 My call to train function is like this: fit <- train(TrainingPreCols, TrainingFrame[,PCol], method="glmnet", preProcess = c("center","scale")) When TrainingPreCols is 17420 obs. of 27 variables, the function works ok. But with a size of 47000 obs of 27 variables I get the former error. ¿Could be the amount of data the cause of this error? Any help...