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.61k stars 634 forks source link

Fixed bug in nnet wrapper (including avNNet, pcaNNet) #1367

Open bpuladi opened 4 months ago

bpuladi commented 4 months ago

Correct the linout parameter for nnet, avNNet, pcaNNet. This is required for regression. If not set, regression performance metrics will be wrong. linout = FALSE # for classification linout = TRUE # for regression