- In this project, I implemented a Naive Bayes text classifier from scratch to categorize the titles of news. The categories are:
- International
- Sport
- Political
- Cultural-artistic
- Social
- Scientific-medical
- Economic
- Social media
- Web browsing
- Video & audio
- All characters except
آ-یand\shave been removed; Numbers have been replaced byN. Zeros have been handled by Laplacian smoothing. - The
DataPreprocessorandNaiveBayesClassifierclasses have been designed for preprocessing the samples and training/evaluating a Naive Bayes classifier respectively.
mohammad8921/NewsTitlesCategorization-NaiveBayesClassifier
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|