Each row of the data.frame
may sum up to 1.0
before and after rounding.
Rounding is performed with round.probabilities
.
som.nn.round.votes(votes, classes, digits = 2)
data.frame
with roundes rows of class probabilities.
other columns are not affected.
data.frame
with rows of class probabilities.
character
vector with name of categories.
Names must match the column names of probabilities to be
rounded.
precision; default = 2.