Description Usage Arguments Details Value Examples
Inverse sigmoid function and gradient
1 | sigmoid.inv(x, lower.limit = 0, upper.limit = 1)
|
x |
Point to evaluate inverse sigmoid function and gradient |
lower.limit |
Lower limit of the sigmoid function; defaults to 0 |
upper.limit |
Upper limit of the sigmoid function; defaults to 1 |
Evaluates the inverse sigmoid function (-log((upper.bound - lower.bound) / (x - lower.bound) - 1)) and its gradient ((upper.bound - lower.bound) / ((lower.bound - x) * (x - upper.bound))).
Returns a list with two elements, each with the same number of elements as x
value |
Value of the inverse sigmoid function at x |
gradient |
Value of the gradient of the inverse sigmoid function at x |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.