Smart Spam Filter  1.0
A spam filter using Machine Learning.
working_model.py File Reference

Model implementing code. More...

Variables

 working_model.mail_file = sys.argv[1]
 
 working_model.features_matrix = mail_features(mail_file)
 
 working_model.ml_model = pickle.load(open('spamfilter.sav', 'rb'))
 
 working_model.result = ml_model.predict(features_matrix)
 

Detailed Description

Model implementing code.

This code reads mails individually and then classifies them using pre-trained model.

Author
Sudhanshu Dubey
Version
1.0
Date
25/6/19
Parameters
mail_fileThe full address of mail file.
Warning
Is not suitable for classifying multiple emails. Use fast_multiple.py instead.
Bug:
No known bug.