This project is an email classification website that determines whether an email is spam or ham (not spam) using Bernoulli and Multinomial Naive Bayes algorithms. The web application is built with Flask.
Features
- Classify emails as spam or ham
- Uses Bernoulli and Multinomial Naive Bayes algorithms
- User-friendly web interface built with Flask
- Installation
- Usage
- Contributing
Clone the repository:
git clone https://github.com/RiturajS12/email_classification.git
Navigate to the project directory:
cd email_classification
Install the required packages:
pip install -r requirements.txt
Usage Run the Flask application:
python app.py
Open your web browser and go to http://127.0.0.1:5000/. Use the interface to classify emails as spam or ham.
Contributing
Contributions are welcome! Please fork the repository and create a pull request with your changes. Make sure to update tests as appropriate.