Understanding the dataset

In this section, we will look into our dataset. We have considered an IMDb dataset, which you can download at: http://ai.stanford.edu/~amaas/data/sentiment/. After clicking on this link, you can see that there is a link provided on the page. This link is titled Large Movie Review Dataset v1.0; we need to click on it. This way, we can download the IMDb dataset. Once you have downloaded the dataset, you need to extract the .tar.gz file. Once you extract the .tar.gz file, you can see that there are two folders inside the extracted folder and some other files. Let's look at each of them in the following section.

Understanding the content of the dataset

After extracting the dataset file, we'll see that there are some folders ...

Get Machine Learning Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.