View source: R/activations-losses.R View source: R/.ipynb_checkpoints/activations-losses-checkpoint.R
sigmoid | R Documentation |
A sigmoid (= logistic) function, and its derivative.
sigmoid(X, deriv = FALSE)
X |
A matrix. |
deriv |
Set this to TRUE if you want the derivative instead of the function. |
A matrix representing the sigmoid(X), or its derivative.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.