add_weight_decay: Add weight decay to any autoencoder
Description
Adds a weight decay regularization to the encoding layer of a
given autoencoder
Usage
add_weight_decay(learner, decay = 0.02)
Value
An autoencoder object which contains the weight decay
Arguments
- learner
The "ruta_autoencoder"
object
- decay
Numeric value indicating the amount of decay