loss_score_ranking()
ranks tuning parameters according to the scores
received in multiple loss functions.
loss_score_ranking(score, loss.fun)
Returns a tibble containing the parameter grid as well as a rank column that corresponds to the cross-validation rank of a parameter combination across all loss function scores.
A data set containing loss function names, the loss function values, and the tuning parameter values.
Loss function. A character-valued scalar indicating whether
prediction loss should be measured by the mean squared error (MSE
)
or the mean absolute error (MAE
). Default is MSE
.