Returns the most likely class label for each row of predicted class probabilities
predict_classes(predictions)
predictions | the nxc matrix where each row are predicted probabilities for one observation for each of c classes. |
---|
a vector of length n, the predicted class labels as a factor variable