a python code that uses Bayesian classifier to classify spam mails, just provide a cleaned versioned of both training and test sets(number of words in each sentence)
spam home 4 compain 3 to 14 win 3 .....etc
- numpy
- nltk
import numpy as np
import operator
from nltk.corpus import stopwords