GOAL
The goal is to predict email is spam or not.
Dataset can be downloaded from here
MODELS USED
- Decission Tree
- Naive Bayes
LIBRARIES NEEDED
- numpy
- pandas
- seaborn
- matplotlib
- scikit-learn
CONCLUSION
By using Naive Bayes I got
Accuracy of training data: 94.33962264150944
Accuracy of testing data: 92.49422632794457
By using Decission Tree I got
Accuracy of training data: 100.0
Accuracy of testing data: 97.57505773672055