autoenc_encode_decode: Autoencoder - Encode-decode

View source: R/trans_van_enc_decode.R

autoenc_encode_decodeR Documentation

Autoencoder - Encode-decode

Description

Creates an deep learning autoencoder to encode-decode a sequence of observations. It wraps the pytorch and reticulate libraries.

Usage

autoenc_encode_decode(
  input_size,
  encoding_size,
  batch_size = 32,
  num_epochs = 1000,
  learning_rate = 0.001
)

Arguments

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

Value

returns a autoenc_encode_decode object.

Examples

#See an example of using `autoenc_encode_decode` at this
#[link](https://github.com/cefet-rj-dal/daltoolbox/blob/main/transf/van_enc_decode.ipynb)

daltoolbox documentation built on Nov. 3, 2024, 9:06 a.m.