A simple application of Naive Bayes and Maximum Likelihood classifier on 20 news group data.
- Train Naive Bayes(BE) and Maximum Likelihood estimation(MLE) model from the training data under 20newsgroup.
- Use both the train models to predict the newsgroup for each documents in test data.
- Finally, the accuracies of train data BE, test data BE and test data MLE is computed along with priors and Confusion matrix.