This repository contains a machine learning model for detecting spam emails using Natural Language Processing techniques and Semi-supervised learning, such as Label Propagation, Label Spreading and Self-Learning. The goal is to create an effective and efficient spam detection system that can classify emails as spam or non-spam with high accuracy.
-
Create and activate your virtual environment.
-
Install the dependencies:
npm install
-
Install the required packages:
pip install fastapi scikit-learn uvicorn imbalanced-learn nltk
To test this spam detection model, follow these steps:
-
Start the server:
uvicorn spam_detection_api:app --reload # or uvicorn spam_detection_api:app --reload --port 8001
-
Start the development server:
npm run dev
-
Open
http://localhost:5173
with your browser to see the result. -
You are all set 🎉
This project is mantained by:
Feel free to contribute to the project by opening issues, submitting pull requests, or providing feedback. Your contributions are highly welcome!