Converts an autoencoder into a contractive one by assigning a contractive loss to it

make_contractive(learner, weight = 2e-04)

Arguments

learner

The "ruta_autoencoder" object

weight

Weight assigned to the contractive loss

Value

An autoencoder object which contains the contractive loss

See also

\link{autoencoder_contractive}