# imdb_reviews

<br />

- **Description**:

Large Movie Review Dataset. This is a dataset for binary sentiment
classification containing substantially more data than previous benchmark
datasets. We provide a set of 25,000 highly polar movie reviews for training,
and 25,000 for testing. There is additional unlabeled data for use as well.

- **Additional Documentation** :
  [Explore on Papers With Code](https://paperswithcode.com/dataset/imdb-movie-reviews)

- **Config description**: Plain text

- **Homepage** :
  [http://ai.stanford.edu/\~amaas/data/sentiment/](http://ai.stanford.edu/%7Eamaas/data/sentiment/)

- **Source code** :
  [`tfds.datasets.imdb_reviews.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/imdb_reviews/imdb_reviews_dataset_builder.py)

- **Versions**:

  - **`1.0.0`** (default): New split API (<https://tensorflow.org/datasets/splits>)
- **Download size** : `80.23 MiB`

- **Dataset size** : `129.83 MiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  Yes

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 25,000 |
| `'train'` | 25,000 |
| `'unsupervised'` | 50,000 |

- **Feature structure**:

    FeaturesDict({
        'label': ClassLabel(shape=(), dtype=int64, num_classes=2),
        'text': Text(shape=(), dtype=string),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| label | ClassLabel |   | int64 |   |
| text | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('text', 'label')`

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
  Not supported.

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<button id="displaydataframe">Display examples...</button>

- **Citation**:

    @InProceedings{maas-EtAl:2011:ACL-HLT2011,
      author    = {Maas, Andrew L.  and  Daly, Raymond E.  and  Pham, Peter T.  and  Huang, Dan  and  Ng, Andrew Y.  and  Potts, Christopher},
      title     = {Learning Word Vectors for Sentiment Analysis},
      booktitle = {Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies},
      month     = {June},
      year      = {2011},
      address   = {Portland, Oregon, USA},
      publisher = {Association for Computational Linguistics},
      pages     = {142--150},
      url       = {http://www.aclweb.org/anthology/P11-1015}
    }

## imdb_reviews/plain_text (default config)