mlp_net: Create objects of 'mlp_net' class

Description Usage Arguments Value See Also Examples

View source: R/mlp_net.R

Description

Function used for creating multilayer perceptron networks.

Usage

1
mlp_net(layers, name = NULL)

Arguments

layers

vector providing numbers of neurons in each layer

name

character string, network name (optional)

Value

Returns an object of mlp_net class.

See Also

mlp_net for details.

Examples

1
2
3
4
5
6
# create a 2-3-1 network
net <- mlp_net(c(2, 3, 1))
# randomise weights
net <- mlp_rnd_weights(net)
# show basic information about the network
show(net)

FCNN4R documentation built on May 29, 2017, 4:26 p.m.