O'Reilly logo

Java Deep Learning Projects by Md. Rezaul Karim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Folder structure of the dataset

There are two folders, namely train and test for the training and test sets, respectively. Each folder has two separate subfolders called pos and neg, which contain reviews with binary labels (pos, neg). Reviews are stored in text files having the name id_rating.txt, where id is a unique ID and rating is the star rating on a 1-10 scale. Take a look at the following diagram to get a clearer view on the directory's structure:

Folder structure in Large Movie Review Dataset

For example, the test/pos/200_8.txt file is the text for a positive-labeled test set example with a unique ID of 200 and a star rating of 8/10 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required