mlp_net-class: An S4 class representing Multilayer Perception Network.
Description
The mlp_net
class represents the Multilayer Perception Network
employing the so-called compressed representation, which was inspired
by the Compressed Column Storage familiar from sparse matrix algebra.
Although the representation and algorithms working with it are somewhat
complicated, the user is provided with a simple and intuitive interface
that completely hides the internal workings of the package, which in its
large part is written in C++.
Slots
m_name
- character string, network name
m_layers
- integer vector, stores the numbers of neurons in layers
m_n_pointers
- integer vector, stores the so-called 'pointers' to neurons
m_n_prev
- integer vector, stores the number of connected neurons in the previous layer
m_n_next
- integer vector, stores the number of connected neurons in the next layer
m_w_pointers
- integer vector, stores the so-called 'pointers' to weights
m_w_values
- numeric vector, values of connection weights and biases
m_w_flags
- logical vector, states (active/inactive) of weights and biases
m_w_on
- integer value, the number of active weights
m_af
- integer vector, activation functions' indices
m_af_p
- numeric vector, activation functions' slope parameters
See Also
mlp_net
for creating objects of this class.