p_second#

p_second(beta, value_0, value_1)[source]#

The probability of the second of two options under a softmax.

Equals softmax(np.array([value_0, value_1]), beta)[1], computed as the logistic of the scaled value difference.