Description Usage Arguments Value Examples
View source: R/neuralnetwork.R
Initialize a neural network
1 2 3 4 5 6 7 8 |
formula |
formula |
hidden |
numeric vector for the number of neurons per hidden layer. |
startweights |
NULL, "zero" or list of matrices of the startweights. |
linear.output |
logic : are the outputs linear or passed through the activation_fun? |
activation_fun |
function : activation function for neurons. |
dactivation_fun |
function : derivative of the activation function. |
neural network (class : nn)
1 | neuralnetwork(out~inputs, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.