Click or drag to resize
Accord.NET (logo)

SpecialSoftmax Method (Double)

Computes the Softmax function (also known as normalized Exponencial function) that "squashes"a vector or arbitrary real values into a vector of real values in the range (0, 1) that add up to 1.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double[] Softmax(
	double[] input
)
Request Example View Source

Parameters

input
Type: SystemDouble
The real values to be converted into the unit interval.

Return Value

Type: Double
A vector with the same number of dimensions as input but where values lie between 0 and 1.
See Also