February 2019
Beginner to intermediate
308 pages
7h 42m
English
First, let's import the dataset. The IMDb movie reviews dataset is already provided in Keras, so we can import it directly:
from keras.datasets import imdb
The imdb class has a load_data main function, which takes in the following important argument:
The load_data function returns two tuples as the output. The first tuple holds the training set, while the second tuple holds the testing set. Note that the load_data function splits the data equally and randomly ...
Read now
Unlock full access