Options for weights of layers
weight_control(
specific_weight_options = NULL,
general_weight_options = list(activation = NULL, use_bias = FALSE, trainable = TRUE,
kernel_initializer = "glorot_uniform", bias_initializer = "zeros", kernel_regularizer
= NULL, bias_regularizer = NULL, activity_regularizer = NULL, kernel_constraint =
NULL, bias_constraint = NULL),
warmstart_weights = NULL,
shared_layers = NULL
)
Returns a list with options
specific options for certain
weight terms; must be a list of length length(list_of_formulas)
and
each element in turn a named list (names are term names as in the formula)
with specific options in a list
default options for layers
While all keras layer options are availabe, the user can further specify a list for each distribution parameter with list elements corresponding to term names with values as vectors corresponding to start weights of the respective weights
list for each distribution parameter; each list item can be again a list of character vectors specifying terms which share layers