autoencoder_keras: autoencoder_keras

Description Usage Arguments Value

View source: R/autoencodersKeras.R

Description

Wrapper function for all the different keras autoencoder implementations

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
autoencoder_keras(
  X,
  method = AUTOENCODER_METHODS,
  latent_dim = 3,
  time_window = 5,
  epochs = 200,
  batch_size = 32,
  optimizer_params = list(loss = "mean_squared_error", optimizer = "adam"),
  embedding_params = list(padNA = F, shift = time_window)
)

Arguments

X
  • nxN matrix containing the N time series as columns, each one of length n time steps - Numeric

method
  • Autoencoder type (from AUTOENCODER_METHODS list) - String

latent_dim
  • Number of latent dimensions - Numeric

time_window
  • Size of time window (in time steps) - Numeric

epochs
  • Number of epochs required for training - Numeric

batch_size
  • Batch size required for training - Numeric

optimizer_params
  • Optimizer parameters for keras fit function

    • loss: Loss function used for optimization (among those defined by Keras) - String

    • optimizer: Optimizer function used for optimization (among those defined by Keras) - String

embedding_params
  • Paramaters to control the embedding process

    • padNA: Value used to indicate whether incomplete tensors should be dropped or filled with NAs - Boolean

    • shift: Number of time step that be skipped in order to determine the start of the following tensor - Numeric

Value

List containing:


jdestefani/ExtendedDFML documentation built on Dec. 20, 2021, 10:04 p.m.