Description Usage Arguments Details
Utility function to construct optimiser from keras, primarily for internal use.
1 2 3 4 5 6 7 8 9 10 11 12 13 | get_optimizer(
optimizer = "adam",
lr = 0.02,
beta_1 = 0.9,
beta_2 = 0.999,
epsilon = NULL,
decay = 0,
clipnorm = NULL,
clipvalue = NULL,
schedule_decay = 0.004,
momentum = 0,
nesterov = FALSE
)
|
optimizer |
|
lr |
|
beta_1, beta_2, epsilon |
|
decay |
|
clipnorm, clipvalue |
|
schedule_decay |
|
momentum |
|
nesterov |
|
Implement optimizers are
"adadelta"
keras::optimizer_adadelta
"adagrad"
keras::optimizer_adagrad
"adamax"
keras::optimizer_adamax
"adam"
keras::optimizer_adam
"nadam"
keras::optimizer_nadam
"rmsprop"
keras::optimizer_rmsprop
"sgd"
keras::optimizer_sgd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.