February 2020
Intermediate to advanced
328 pages
8h 19m
English
Now, we move on to building our model:
encoding_dim = 32 input_img = layer_input(shape=c(784),name = "input")
encoded = input_img %>% layer_dense(units = encoding_dim, activation='relu',name = "encoder")decoded = encoded %>% layer_dense(units = c(784), activation='sigmoid',name = "decoder")# this model maps an input to its reconstructionautoencoder = keras_model(input_img, decoded)
Now, we visualize the summary of the autoencoder model:
summary(autoencoder)
The summary of ...
Read now
Unlock full access