Description Usage Arguments Value Examples
sigmoid
can take a scalar, vector or matrix and output
elementwise application of the reLU nonlinearity/
squashing function. There is an additional boolean
flag for calculating the derivative. The deriv argument
is needed for activation functions.
1 |
X |
numeric scalar, vector or matrix |
deriv |
boolean indicating whether we should evaluate the function or the derivative at the input. |
Same format as the input X
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.