Description Usage Arguments Author(s) Examples
View source: R/neural_networks.R
Use a 3-layer artificial neural networks to do classification on sprial data
1 |
y |
input of y |
X |
input of X |
maxit |
maximum number of iterations |
gamma |
The step size |
H1 |
number of nodes in the 1st layer |
H2 |
number of nodes in the 2nd layer |
lambda |
penalty term |
Yijun Yang
1 2 3 4 | ## Not run:
NN_classify(X, y, maxit = 1e5, gamma = 1e-2, H1 = 10, H2 = 10, lambda = 0.1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.