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