Skip to content
This repository was archived by the owner on Sep 8, 2023. It is now read-only.

Alli3d/naivebayes-for-spam-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

naivebayes for email spam detection

Spam detection model using naive bayes. Applies count vectorizer on the data then trains the model on the spamorham.csv dataset.

Usage

main.py prepares the data, trains the model, outputs the fitnes, and saves the model to a pickle file. Running main.py will retrain the model and save a new pickle file.

The accuracy of the model rarely fall below 0.97% for English inputs under 1000 characters.

About

Spam detection model using naive bayes algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages