mlp_net-weights-access: Set and retrieve (active) weights' values

Description Usage Arguments Value

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

1
2
3

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.


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