r - Caret Error Using Train: "Something is wrong; all the RMSE metric values are missing" -
i'm trying train neural network model using caret package in r , encountered error message regarding missing rmse metric values. has come across error before?
below sample of code , error message received:
install.packages("caret") library(caret) ctrl <- traincontrol(method = "timeslice", initialwindow = 8000, horizon = 2000, fixedwindow = true) install.packages("nnet") library(nnet) system.time({lmfiltered4 <- train(fgddatatavg2trainxd, fgddatatavg2trainy, method = "avnnet", size = 10, decay = 0.1, trcontrol = ctrl, preproc = c("center", "scale"), linout = true, trace = false, maxnwts = 10 * (ncol(fgddatatavg2trainxd) +1) + 10 + 1, maxit = 500)}) wrong; rmse metric values missing: rmse rsquared min. : na min. : na 1st qu.: na 1st qu.: na median : na median : na mean :nan mean :nan 3rd qu.: na 3rd qu.: na max. : na max. : na na's :9 na's :9 error in train.default(fgddatatavg2trainxd, fgddatatavg2trainy, size = 10, : stopping in addition: warning message: in nominaltrainworkflow(x = x, y = y, wts = weights, info = traininfo, : there missing values in resampled performance measures. timing stopped at: 23461.03 69670.62 6671.223
try removing optional parameters , check. example remove "lineout"
Comments
Post a Comment