View source: R/autoencoder_contractive.R
| contraction | R Documentation | 
This is a wrapper for a loss which induces a contraction in the latent space.
contraction(reconstruction_loss = "mean_squared_error", weight = 2e-04)
| reconstruction_loss | Original reconstruction error to be combined with the
contractive loss (e.g.  | 
| weight | Weight assigned to the contractive loss | 
A loss object which can be converted into a Keras loss
\link{autoencoder_contractive}
Other loss functions: 
correntropy(),
loss_variational()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.