Description Usage Arguments Value
The following functions can be used to access individual weight(s), i.e. set or retrieve status(es) (on/off) and value(s).
1 2 3 4 5 6 7 8 9 |
net |
an object of |
on |
logical value (vector), should the weight be set on or off? |
idx |
integer value (vector), weight absolute index |
layer |
integer value (vector), layer index |
nidx |
integer value (vector), neuron index |
nplidx |
integer value (vector), index of the neuron in the previous
layer determining connection from neuron |
val |
numeric value (vector), connection (or bias) value to be set |
mlp_set_w_st
returns network (an object of mlp_net
class)
with state(s) (on/off) of selected weight(s) set.
mlp_set_w
returns network (an object of mlp_net
class)
with value(s) of selected weight(s) set.
mlp_get_w_st
returns logical value (vector), TRUE if connection/bias is active,
FALSE otherwise.
mlp_get_w
returns numeric value (vector), selected weight value(s).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.