Der3ActFunc | R Documentation |
Evaluate third derivative of activation function of a neuron
Der3ActFunc(type = "sigmoid", ...)
type |
|
... |
extra arguments needed to calculate the functions |
numeric
output of the neuron
# Return derivative of the sigmoid activation function of a neuron
ActivationFunction <- Der3ActFunc("sigmoid")
# Return derivative of the tanh activation function of a neuron
ActivationFunction <- Der3ActFunc("tanh")
# Return derivative of the activation function of several layers of neurons
actfuncs <- c("linear","sigmoid","linear")
ActivationFunctions <- sapply(actfuncs, Der3ActFunc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.