dns_encode: Denoising Autoencoder - Encode

View source: R/trans_dns_encode.R

dns_encodeR Documentation

Denoising Autoencoder - Encode

Description

Creates an deep learning denoising autoencoder to encode a sequence of observations. It wraps the pytorch library.

Usage

dns_encode(
  input_size,
  encoding_size,
  batch_size = 32,
  num_epochs = 1000,
  learning_rate = 0.001,
  noise_factor = 0.3
)

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

noise_factor

level of noise to be added to the data

Value

a dns_encode_decode object.

Examples

#See example at https://nbviewer.org/github/cefet-rj-dal/daltoolbox-examples

daltoolbox documentation built on April 12, 2025, 1:28 a.m.