| to_keras.ruta_loss_contraction | R Documentation | 
Builds the Keras loss function corresponding to a name
## S3 method for class 'ruta_loss_contraction' to_keras(x, learner, ...) ## S3 method for class 'ruta_loss_correntropy' to_keras(x, ...) ## S3 method for class 'ruta_loss_variational' to_keras(x, learner, ...) ## S3 method for class 'ruta_loss_named' to_keras(x, ...)
x | 
 A   | 
learner | 
 The learner object including the keras model which will use the loss function  | 
... | 
 Rest of parameters, ignored  | 
A function which returns the corresponding loss for given true and predicted values
Contractive loss: Deriving Contractive Autoencoder and Implementing it in Keras
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.