August 2017
Intermediate to advanced
288 pages
8h 6m
English
The next step is to set up the autoencoder model. Let's set up a vanilla autoencoder using TensorFlow:
# Reset the graph and set-up a interactive sessiontf$reset_default_graph()sess<-tf$InteractiveSession()
# Network Parametersn_hidden_1 = 5 # 1st layer num featuresn_input = length(xFeatures) # Number of input featuresnRow<-nrow(occupancy_train)
When n_hidden_1 is low, the autoencoder is compressing the data and is referred to as an under-complete autoencoder; whereas, when n_hidden_1 is large, then ...
Read now
Unlock full access