2 ms·
It maps (-inf, inf) to (0, inf) in about as nice a way as you could expect (addition turns into multiplication). When you want to constrain a value to be positi
by aesthesia 5mo ago
It maps (-inf, inf) to (0, inf) in about as nice a way as you could expect (addition turns into multiplication). When you want to constrain a value to be positive, parameterizing it with exp is usually a good option.
- ainch 5mo agoAnd importantly it's got nice properties like being differentiable and monotonic, unlike eg. taking |x|.