Learn R Programming

rareflow (version 0.1.0)

softmax: Softmax Function

Description

Computes a numerically stable softmax.

Usage

softmax(x)

Value

Probability vector summing to 1.

Arguments

x

Numeric vector.