This project focuses on training and evaluating ML models for spam detection using a dataset of spam emails. The workflow also includes features to release trained models automatically using GitHub Actions.
- Preprocessing pipeline for data cleaning and preparation.
- Training and evaluation of machine learning models.
- Automated release workflow using GitHub Actions.
- Spam email dataset included for model training.
- Clone the repository:
git clone https://github.com/yourusername/ml-project.git
- Create virtual environment:
python3 -m venv yourvenvname
- Activate the venv (for linux):
source yourvenv/bin/activate
- Install dependencies on venv:
pip install -r requirements.txt
- Run the main.py:
python main.py
The application processes the spam dataset, trains a classification model, and provides evaluation metrics. Results are saved for further analysis or deployment.
The application may slow when startup due to the model training process on the app startup event with large dataset