Turn class probabilities into class labels

probs.to.labels(prediction)

Arguments

prediction

Prediction object.