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

  1. conda create -n env python=3.7
  2. conda activate env
  3. pip install -r requirements.txt
  4. python main.py

Result Naive Bayes Accuracy Score -> 83.23333333333333
SVM Accuracy Score -> 84.66666666666667