View source: R/trans_van_encode.R
autoenc_encode | R Documentation |
Creates an deep learning autoencoder to encode a sequence of observations. It wraps the pytorch and reticulate libraries.
autoenc_encode(
input_size,
encoding_size,
batch_size = 32,
num_epochs = 1000,
learning_rate = 0.001
)
input_size |
input size |
encoding_size |
encoding size |
batch_size |
size for batch learning |
num_epochs |
number of epochs for training |
learning_rate |
learning rate |
returns a autoenc_encode
object.
#See an example of using `autoenc_encode` at this
#[link](https://github.com/cefet-rj-dal/daltoolbox/blob/main/transf/van_encode.ipynb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.