View source: R/helpers_keras.R
get_keras_optimizer | R Documentation |
Utility function to construct optimiser from keras, primarily for internal use.
get_keras_optimizer(
optimizer = "adam",
lr = 0.001,
beta_1 = 0.9,
beta_2 = 0.999,
epsilon = 1e-07,
decay = NULL,
clipnorm = NULL,
clipvalue = NULL,
momentum = 0,
nesterov = FALSE,
rho = 0.95,
global_clipnorm = NULL,
use_ema = FALSE,
ema_momentum = 0.99,
ema_overwrite_frequency = NULL,
jit_compile = TRUE,
initial_accumultator_value = 0.1,
amsgrad = FALSE,
lr_power = -0.5,
l1_regularization_strength = 0,
l2_regularization_strength = 0,
l2_shrinkage_regularization_strength = 0,
beta = 0,
centered = FALSE
)
optimizer |
|
lr |
|
beta_1 , beta_2 |
|
epsilon |
|
decay , clipnorm , clipvalue , global_clipnorm |
|
momentum |
|
nesterov |
|
rho |
|
use_ema , jit_compile |
|
ema_momentum , ema_overwrite_frequency |
|
initial_accumultator_value |
|
amsgrad |
|
lr_power , l1_regularization_strength , l2_regularization_strength , l2_shrinkage_regularization_strength , beta |
|
centered |
|
Implemented optimizers are
"adadelta"
keras::optimizer_adadelta
"adagrad"
keras::optimizer_adagrad
"adam"
keras::optimizer_adam
"adamax"
keras::optimizer_adamax
"ftrl"
keras::optimizer_ftrl
"nadam"
keras::optimizer_nadam
"rmsprop"
keras::optimizer_rmsprop
"sgd"
keras::optimizer_sgd
No return value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.