NLP, Python.
[0 1 1 ... 2 1 1] print(dataset.target_names) # ['alt.atheism', 'comp.graphics', 'sci.space', 'talk.religion.misc'] As can be seen, the dataset is simply a raw text representation, and the category names are strings stored inside a list. The association between an article and a category is