Re: [R] CARET and NNET fail to train a model when the input is high dimensional

2013-03-06 Thread James Jong
Thank you Max. I presume that in order to use caret with nnet and MaxNWts, I would have to write my custom method for train that supports this new argument. >From what I read, when writing my custom method, I would need to define functions "parameters", "model", "prediction", "prob" and "sort" and

Re: [R] CARET and NNET fail to train a model when the input is high dimensional

2013-03-06 Thread Max Kuhn
James, I did a fresh install from CRAN to get caret_5.15-61 and ran your code with method.name = "nnet" and grid.len = 3. I don't get an error, although there were issues: In nominalTrainWorkflow(dat = trainData, info = trainInfo, ... : There were missing values in resampled performance