norm.softmax {som.nn}R Documentation

Softmax normalisation

Description

Calculates a softmax-like normalisation for the class frequencies.

Usage

norm.softmax(x, t = 0.2)

Arguments

x

vector of votes for classes

t

temperature parameter.

Details

Softmax function is applied to a vector to squeeze the values in a way that they sum up to 1.0:

som.nn.softmax(x) = exp(x/T) / sum(exp(x/T))

Low values for T result in a strong separation of output values. High values for T make output values more equal.

Value

Vector of softmax normalised values.


[Package som.nn version 1.4.4 Index]