|
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
)
Public Shared Function Softmax (
input As Double()
) As Double()
Request Example
View SourceParameters
- input
- Type: SystemDouble
The real values to be converted into the unit interval.
Return Value
Type:
DoubleA vector with the same number of dimensions as
input
but where values lie between 0 and 1.
See Also