instantiate_EQRN_network | R Documentation |
Instantiates the default networks for training a EQRN_iid model
instantiate_EQRN_network(
net_structure,
shape_fixed,
D_in,
hidden_fct,
p_drop = 0,
orthogonal_gpd = TRUE,
device = default_device()
)
net_structure |
Vector of integers whose length determines the number of layers in the neural network and entries the number of neurons in each corresponding successive layer. |
shape_fixed |
Whether the shape estimate depends on the covariates or not (bool). |
D_in |
Number of covariates (including the intermediate quantile feature if used). |
Activation function for the hidden layers. Can be either a callable function (preferably from the | |
p_drop |
Probability parameter for dropout before each hidden layer for regularization during training.
|
orthogonal_gpd |
Whether to use the orthogonal reparametrization of the estimated GPD parameters (recommended). |
device |
(optional) A |
A torch::nn_module
network used to regress the GPD parameters in EQRN_fit()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.