A guide to Text Classification(NLP) using SVM and Naive Bayes with Python
Sample Dataset: Amazon Review Data set which has 10,000 rows of Text data which is classified into “Label 1” and “Label 2”
How to run
conda create -n env python=3.7
conda activate env
pip install -r requirements.txt
python main.py
Result
Naive Bayes Accuracy Score -> 83.23333333333333
SVM Accuracy Score -> 84.66666666666667