Skip to content

sanketrs/Email-Spam-Detection-in-Python-with-Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Email-Spam-Detection-in-Python-with-Machine-Learning

C:\Users\Sanket\Desktop\pyscripts>pip install pandas

C:\Users\Sanket\Desktop\pyscripts>pip install numpy

C:\Users\Sanket\Desktop\pyscripts>pip install sklearn

C:\Users\Sanket\Desktop\pyscripts>python simple-spam-detector-in-python.py

simple-spam-detector-in-python.py:9: FutureWarning: Method .as_matrix will be re moved in a future version. Use .values instead. dataset=pd.read_csv("spambase.data").as_matrix()

Checkpoint I

Checkpoint II

Classification Score for Naive-Bayes is -: 0.88

Checkpoint III

Classification Score for AdaBoost -: 0.95

Checkpoint IV

C:\Users\Sanket\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skle arn\ensemble\forest.py:245: FutureWarning: The default value of n_estimators wil l change from 10 in version 0.20 to 100 in 0.22."10 in version 0.20 to 100 in 0.22.", FutureWarning)

Classification Score for RandomForestClassifier -: 0.94

C:\Users\Sanket\AppData\Local\Programs\Python\Python37-32\lib\site-packages\skle arn\ensemble\forest.py:245: FutureWarning: The default value of n_estimators wil l change from 10 in version 0.20 to 100 in 0.22."10 in version 0.20 to 100 in 0.22.", FutureWarning)

Classification Score for ExtraTreesClassifier -: 0.96

Checkpoint V

Classification Score for DecisionTreeClassifier -: 0.93

About

Simple Spam Email Classification with Machine Learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages