Text or Document classification is one of the most important task in supervised machine learning.
Dataset used: "20 newsgroups"
For dataset I used the famous "20 Newsgroups" dataset.
The data set is a collection of approximately 20,000 newsgroup documents, partitioned (nearly) evenly across 20 different newsgroups. You can find the dataset freely here.