This project can predict whether an email is spam or ham with higher accuracy based on the content of the email body using various Machine learning algorithms.
-
Basic classifiers:
1.1 Multinomial NaïveBayes 1.2 Support VectorMachine 1.3 K-NearestNeighbours 1.4 DecisionTree -
Ensemble classifiers:
2.1 RandomForest 2.2 Bagging 2.3 Boosting AND AdaBoosting 2.4 Voting
Languages used: Python
Modules used: sklearn, numpy, pandas, Tkinter, seaborn, pickle
IDE used: VScdoe
1. Download the repository on your local machine.
2. Create a virtual environment, command: **_"python -m venv <name_of_the_env>"_**.
3. Activate the virtual environment.
3. Install the above mentioned modules, command **_"pip install sklearn numpy pandas tkinter searborn pickle"_**.
4. Execute the **_"gui_windows.py"_**.
1. Run your jupyter notebook.
2. Change the file name for the different datasets.
Note:
Datasets for this project is in **_"datasets"_** folder.
This repository contains the code for our BTech Major Project "Spam Detection using Machine Learning Algorithms".
Code contirbution:


