topepo / caret

caret (Classification And Regression Training) R package that contains misc functions for training and plotting classification and regression models
http://topepo.github.io/caret/index.html
1.62k stars 632 forks source link

ANN warning using nnet in Caret #1101

Open amylee-lixinyi opened 4 years ago

amylee-lixinyi commented 4 years ago

Hello I got this warning message again when use Caret for ANN model Warning message: In nominalTrainWorkflow(x = x, y = y, wts = weights, info = trainInfo, : There were missing values in resampled performance I checked the resample performance as suggested by this but find no NA Could you please advise the reason for this issue? Is there by any chance I can ask Caret to output the performance matrics of every cross validation samples?

topepo commented 4 years ago

Can you please provide a minimal reprex (reproducible example)? The goal of a reprex is to make it as easy as possible for me to recreate your problem so that I can fix it: please help me help you!

If you've never heard of a reprex before, start by reading "What is a reprex", and follow the advice further down that page.

amylee-lixinyi commented 4 years ago

Hello Max Thanks for your reply Please find the reprex in the zip file together with the input data. REPREX.zip