This is a wrapper for a loss which induces a contraction in the latent space.
contraction(reconstruction_loss = "mean_squared_error", weight = 2e-04)
Original reconstruction error to be combined with the
contractive loss (e.g. "binary_crossentropy"
)
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()