View source: R/createAutoencoderModel.R
createAutoencoderModel | R Documentation |
Builds an autoencoder based on the specified array definining the number of units in the encoding branch. Ported to Keras R from the Keras python implementation here:
createAutoencoderModel(
numberOfUnitsPerLayer,
activation = "relu",
initializer = "glorot_uniform"
)
numberOfUnitsPerLayer |
vector defining the number of units in the encoding branch |
activation |
activation type for the dense layers |
initializer |
initializer type for the dense layers |
https://github.com/XifengGuo/DEC-keras
two models: the encoder and auto-encoder
Tustison NJ
library( ANTsRNet )
library( keras )
ae <- createAutoencoderModel( c( 784, 500, 500, 2000, 10 ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.