View source: R/autoencoder_sparse.R
to_keras.ruta_sparsity | R Documentation |
Translate sparsity regularization to Keras regularizer
## S3 method for class 'ruta_sparsity' to_keras(x, activation, ...)
x |
Sparsity object |
activation |
Name of the activation function used in the encoding layer |
... |
Unused |
Function which can be used as activity regularizer in a Keras layer
Andrew Ng, Sparse Autoencoder. CS294A Lecture Notes (2011)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.