xy2pos: A 3-layer Neural Networks

Description Usage Arguments Author(s) Examples

View source: R/neural_networks.R

Description

Use a 3-layer artificial neural networks to do classification on sprial data

Usage

1
xy2pos(x, y, nrow)

Arguments

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

Author(s)

Yijun Yang

Examples

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)

yijunyang/bis557 documentation built on Dec. 21, 2020, 3:06 a.m.