View source: R/autoencoder_sparse.R
autoencoder_sparse | R Documentation |
Creates a representation of a sparse autoencoder.
autoencoder_sparse(
network,
loss = "mean_squared_error",
high_probability = 0.1,
weight = 0.2
)
network |
Layer construct of class |
loss |
Character string specifying a loss function |
high_probability |
Expected probability of the high value of the encoding layer. Set this to a value near zero in order to minimize activations in that layer. |
weight |
The weight of the sparsity regularization |
A construct of class "ruta_autoencoder"
Andrew Ng, Sparse Autoencoder. CS294A Lecture Notes
sparsity
, make_sparse
, is_sparse
Other autoencoder variants:
autoencoder_contractive()
,
autoencoder_denoising()
,
autoencoder_robust()
,
autoencoder_variational()
,
autoencoder()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.