Published August 25, 2021
| Version v2
Dataset
Open
AG's news corpus (AGNEWS)
Authors/Creators
Description
AG’s news corpus (AGNEWS): This AG’s corpus of news articles was collected from the web. The whole corpus contains 496,835 categorized news articles from more than 2000 news sources. Four largest classes (World, Sports, Business and Sci/Tech) from this corpus were chosen to construct the dataset used in the experiments, using only the title and description fields
The files:
texts.txt: Document set (text). One per line.
score.txt: Document class whose index is associated with texts.txt
split_<k>.pkl: pandas DataFrame with k-cross validation partition.
The .zip contains all aforementioned files + the tfidf representation in the CSR matrix format.