FCNN4R (version 0.6.2)

mlp_net: Create objects of mlp_net class

Description

Function used for creating multilayer perceptron networks.

Usage

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

Run this code

# 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)

Run the code above in your browser using DataCamp Workspace