This folder contains the python code for the classification of the text using Naive Bayes ALgorithm. The dataset is the famous 20 newsgroups data. The benchmark accuracy is 78% but this program gives an accuracy of ~99%. You can find the dataset from http://www.cs.cmu.edu/afs/cs/project/theo-11/www/naive-bayes.html