search for: resample01

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

Did you mean: resample
2013 Jun 11
1
Caret train with glmnet give me Error "arguments imply differing number of rows"
...stic net (glmnet). Most of the time train works ok, but when the data 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...