In this small project we will predict that email is spam or primary, Like we see in most of email services like gmail etc they manage our mails in different folders like spam , pimary , promotion etc. Its exactly same we predict in which folder mail should belongs. lets check out!!!
How run project go inside project directory and run follwoing command
sbt clean compile run
output will be:
Prediction for positive test example: 1.0 Prediction for negative test example: 0.0
1.0 mean it is spam and 0.0 mean it is primary mail.