naive bayes for mail spam

I have a project to determine whether an e-mail is spam or not by using naive bayes algorithm and I have 2 weeks to finish it. I have no idea where I start. Could you help me do that. Thanks.

Answers (2)

mizuki
mizuki on 8 Nov 2016
Google Naive Bayes and MATLAB; then, you will find out that fitcnb (fit + classification + naive bayes) gives the classification model with Naive Bayes. See the example in the documentation.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!