make_contractive: Add contractive behavior to any autoencoder

View source: R/autoencoder_contractive.R

make_contractiveR Documentation

Add contractive behavior to any autoencoder

Description

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

Usage

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}⁠


fdavidcl/ruta documentation built on July 5, 2023, 6:32 p.m.