mlp_net-weights-access: Set and retrieve (active) weights' values
Description
One of FCNN's design objectives (and main advantages) is the complete separation
of teaching (and pruning) algorithms from internal network structure workings.
This goal is achieved through fast access to (active) weights vector facilitated
by FCNN's `compressed' network representation. The following two functions
allow users to efficiently retrieve and set network (active) weights vector.
Usage
mlp_set_weights(net, weights)
mlp_get_weights(net)
Arguments
net
an object of mlp_net class
weights
numeric vector of new active weights' values
Value
mlp_set_weights returns network (an object of mlp_net
class) with active weights set to given values.mlp_set_weights returns numeric vector of active weights' values.