Description Usage Arguments Value
View source: R/autoencodersKeras.R
Wrapper function for all the different keras autoencoder implementations
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)
)
|
X |
|
method |
|
latent_dim |
|
time_window |
|
epochs |
|
batch_size |
|
optimizer_params |
|
embedding_params |
|
List containing:
autoencoder
: Fitted autoencoder model (full model) - Keras object
encoder
: Encoder part of the autoencoder model (Original space -> Latent Dimensions) - Keras object
decoder
: Decoder part of the autoencoder model (Latent Dimensions -> Original space) - Keras object
time_window
: Time window used for the embedding (to fit the autoencoder) - Numeric scalar
train_history
: Object containing statistics on the training history - Keras object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.