concept Reuters in category R

appears as: The Reuters, Reuters, Reuters
Deep Learning with R

This is an excerpt from Manning's book Deep Learning with R.

3.5.1. The Reuters dataset

You’ll work with the Reuters dataset, a set of short newswires and their topics, published by Reuters in 1986. It’s a simple, widely used toy dataset for text classification. There are 46 different topics; some topics are more represented than others, but each topic has at least 10 examples in the training set.

Listing 3.10. Loading the Reuters dataset
library(keras) reuters <- dataset_reuters(num_words = 10000) c(c(train_data, train_labels), c(test_data, test_labels)) %<-% reuters