RDocumentation
Moon
Learn R
Search all packages and functions
FCNN4R (version 0.6.2)
mlp_rnd_weights: This function sets network weights to random values drawn from uniform distribution.
Description
This function sets network weights to random values drawn from uniform distribution.
Usage
mlp_rnd_weights(net, a = 0.2)
Arguments
net
an object of
mlp_net
class
a
numeric value, values will be drawn from uniform distribution on [-a, a] (by default a = 0.2)
Value
Network (an object of
mlp_net
class) with randomised weights.