{
"t": <string>,
"c": <number>
}
Running python dataset.py
will create 3 separate files:
data.csv
contains all datatrain_data.csv
contains 80% of the dataset (meant for training)test_data.csv
contains 20% of the dataset (meant for testing)
Running python svm.py
will train the SVM and print classification report using train_data.csv
and test_data.csv
.
Initialize job queue:
celery -A textclf worker
ISC