dglm: Create a Supervised Deep Learning Model

Description Usage

View source: R/dglm.r

Description

Create a Supervised Deep Learning Model

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
dglm(
  data,
  formula,
  hidden_layers = integer(),
  hidden_layers_activation = rep("linear", length(hidden_layers)),
  hidden_layer_names = paste("hidden_layer", seq_along(hidden_layers), sep = "_"),
  use_bias = rep(TRUE, length(hidden_layers)),
  loss = NULL,
  optimizer = optimizer_adadelta(),
  metrics = NULL,
  output_activation = NULL,
  output_activation_bias = TRUE,
  batch_size = nrow(data),
  epochs = 1000,
  verbose = FALSE,
  validation_split = 0.2,
  count_model = FALSE,
  name = NULL
)

kaneplusplus/dlm documentation built on Sept. 10, 2020, 11:57 a.m.