setup_optimizer_seq | R Documentation |
Instantiate an optimizer for training an EQRN_seq network
setup_optimizer_seq(network, learning_rate, L2_pen, 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. |
optim_met |
DEPRECATED. Optimization algorithm to use during training. |
A torch::optimizer
object used in EQRN_fit_seq()
for training.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.