W An intelligent email classification system using Machine Learning and Natural Language Processing (NLP). This API can classify emails into categories like spam, personal, work, promotions
An intelligent email classification system using Machine Learning and Natural Language Processing (NLP). This API can classify emails into categories like spam, personal, work, promotions, etc.
spam
, personal
, work
, promotions
, updates
, etc.Clone the repository:
git clone https://github.com/sujit-codezen/ai_email_classifier.git cd email_classifier
Create virtual environment (optional but recommended):
python -m venv env source env/bin/activate # On Windows: env\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Train the Model:
cd train python train_model.py
Run the API Server:
cd ../app uvicorn main:app --reload