Text Classification Competition in Kaggle
How to run the code
-
Download the training data and test data from kaggle competition page (https://inclass.kaggle.com/c/um-eecs-498-detection-challenge)
-
Put the data folders in the same folder with the code
-
Run kaggleclassifier_naiveBayes.py to use the Naive Bayes text classifier
-
Run kaggleclassifier_svm.py to use the SVM text classifier