caret - random-forests not working: “Something is wrong; all the Accuracy metric values are missing:”
问题 Related to these: getting this error in Caret https://github.com/topepo/caret/issues/160 I'm getting this error: Something is wrong; all the Accuracy metric values are missing: Accuracy Kappa 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 :5 NA's :5 Error in train.default(x, y, weights = w, ...) : Stopping In addition: Warning message: In nominalTrainWorkflow(x = x, y = y, wts = weights, info = trainInfo