Description Usage Arguments Examples
activation function for each neuron node, we provide the popular activation functions including 'sigmoid', 'tanh', etc.
1 | activate(x, funName)
|
x |
input value to the activation function |
funName |
This package provides the most popular activation functions which can be used by setting the funName parameter to the following strings: 'sigmoid', 'tanh'. |
|
'sigmoid' sigmoid function 1/(1 + exp(-x)). |
|
'tanh' tanh is the hyperbolic tangent function equal to (exp(x) - exp(-x)) / (exp(x) + exp(-x)). |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.