How does it work?
There are two modes-
- You can give the path to the test data and use the alreay trained model to classify texts.
- You can choose to tain the model and then use it to classify texts.
About the code?
- Documentation.pdf file explains the process I followed.
- .pkl file is the pretrained model.
- newsgroups_classification.py is the python file containing the code.
Language: Python 3