Skip to content

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)

Notifications You must be signed in to change notification settings

FadyKhalaf/Spam-classifier-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Spam-classifier-

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)

input must be provided like this (cleaned and ready to apply statistics on)

  spam home 4 compain 3 to 14 win 3 .....etc

some dependencies must be installed as:

  1. numpy
  2. nltk
  import numpy as np
  import operator
  from nltk.corpus import stopwords

About

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)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages