Self-normalized separated network module for GPD parameter prediction
Source:R/EQRN_network_structures.R
Separated_GPD_SNN.Rd
A parameter-separated self-normalizing network (or multi-layer perception) as a torch::nn_module
,
designed for generalized Pareto distribution parameter prediction.
Arguments
- D_in
the input size (i.e. the number of features),
- Hidden_vect_scale
a vector of integers whose length determines the number of layers in the sub-network for the scale parameter and entries the number of neurons in each corresponding successive layer,
- Hidden_vect_shape
a vector of integers whose length determines the number of layers in the sub-network for the shape parameter and entries the number of neurons in each corresponding successive layer,
- p_drop
probability parameter for the
alpha-dropout
before each hidden layer for regularization during training.
Details
The constructor allows specifying:
D_inthe input size (i.e. the number of features),
Hidden_vect_scalea vector of integers whose length determines the number of layers in the sub-network for the scale parameter and entries the number of neurons in each corresponding successive layer,
Hidden_vect_shapea vector of integers whose length determines the number of layers in the sub-network for the shape parameter and entries the number of neurons in each corresponding successive layer,
p_dropprobability parameter for the
alpha-dropout
before each hidden layer for regularization during training.