October 2018
Intermediate to advanced
472 pages
10h 57m
English
Like any regular model fit, fit the autoencoder:
# fit autoencoder autoencoder_train = autoencoder.fit(XX_train.reshape(-1,14,14,1), X_train.reshape(-1,28,28,1), batch_size=batch_size, epochs=epochs, verbose=1, validation_split = 0.2)
The following is the output of the preceding code:

The following is the output at the end of the code's execution:

You will notice that inside the fit, we have specified a parameter called validation_split and that we have set ...
Read now
Unlock full access