setup_optimizer | R Documentation |
Instantiate an optimizer for training an EQRN_iid network
setup_optimizer(network, learning_rate, L2_pen, hidden_fct, optim_met = "adam")
network |
A |
learning_rate |
Initial learning rate for the optimizer during training of the neural network. |
L2_pen |
L2 weight penalty parameter for regularization during training. |
Activation function for the hidden layers. Can be either a callable function (preferably from the | |
optim_met |
DEPRECATED. Optimization algorithm to use during training. |
A torch::optimizer
object used in EQRN_fit()
for training.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.