softmax: Softmax function (2 values)

View source: R/choices.R

softmaxR Documentation

Softmax function (2 values)

Description

Softmax function (2 values)

Usage

softmax(vals, temperature)

Arguments

vals

vector of values (length==2)

temperature

inverse temperature parameter (higher values -> more precision)


SpTB/wztools documentation built on July 2, 2023, 11:50 a.m.