Calculates a linear normalisation for the class frequencies.
norm.linear(x)
Vector of normalised values.
vector of votes for classes
The function is applied to a vector to squeeze the values in a way that they sum up to 1.0:
som.nn.linnorm(x) = x / sum(x)
Linear normalisation is used to normalise class distrubution during
prediction. Results seems often more reasonable, compared to softmax. The
S4 predict
function for Class SOMnn
allows to specify
the normalisation function as parameter.