Adds a weight decay regularization to the encoding layer of a given autoencoder

add_weight_decay(learner, decay = 0.02)

Arguments

learner

The "ruta_autoencoder" object

decay

Numeric value indicating the amount of decay

Value

An autoencoder object which contains the weight decay