August 2017
Intermediate to advanced
288 pages
8h 6m
English
In steps 1 to 8, the movie reviews dataset is loaded, processed, and transformed into a set of train and test matrices, which can be directly used to train an LSTM network. Steps 9 to 14 are used to run LSTM using TensorFlow, as described in Chapter 6, Recurrent Neural Networks. The figure Distribution of sentiment prediction error of training dataset shows the decline in training errors across 500 iterations.
Read now
Unlock full access