Ties are resolved randomly.
map(pred)
pred
A numeric matrix. Each row corresponds to class posterior probabilities for an instance.
x
a bnc_fit object.
bnc_fit
a factor with the same levels as the class variable.