Extract a model accuracy metric from a train
object.
Extract the AUC metric from a train
object.
Extract the RMSE metric from a model object.
getMetric(x, metric)## S3 method for class 'train':
getMetric(x, metric = c("AUC", "RMSE"))
getAUC(x)
getRMSE(x)
A numeric for the AUC of the best model
A numeric for the RMSE of the best model