search for: trainingprecols

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

2013 Jun 11
1
Caret train with glmnet give me Error "arguments imply differing number of rows"
...a set grows in size 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 er...