{"id":29253484,"url":"https://github.com/coding-for-it/spam-mail-prediction","last_synced_at":"2026-04-30T16:33:26.039Z","repository":{"id":302073265,"uuid":"1011156298","full_name":"coding-for-it/Spam-Mail-Prediction","owner":"coding-for-it","description":"Detects whether the content of the mail is spam or not","archived":false,"fork":false,"pushed_at":"2025-06-30T11:49:44.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-30T12:42:33.310Z","etag":null,"topics":["jupyter-notebook","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coding-for-it.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-30T11:42:49.000Z","updated_at":"2025-06-30T11:49:47.000Z","dependencies_parsed_at":"2025-06-30T12:53:20.074Z","dependency_job_id":null,"html_url":"https://github.com/coding-for-it/Spam-Mail-Prediction","commit_stats":null,"previous_names":["coding-for-it/spam-mail-prediction"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coding-for-it/Spam-Mail-Prediction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-for-it%2FSpam-Mail-Prediction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-for-it%2FSpam-Mail-Prediction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-for-it%2FSpam-Mail-Prediction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-for-it%2FSpam-Mail-Prediction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coding-for-it","download_url":"https://codeload.github.com/coding-for-it/Spam-Mail-Prediction/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coding-for-it%2FSpam-Mail-Prediction/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263432279,"owners_count":23465575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jupyter-notebook","python","streamlit"],"created_at":"2025-07-04T02:02:46.310Z","updated_at":"2026-04-30T16:33:26.012Z","avatar_url":"https://github.com/coding-for-it.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Spam Mail Prediction**\n\nThis project is a machine learning-based system that predicts whether an email is spam or not. It features a **Streamlit-based frontend** for user interaction and uses **pre-trained ML models** on **TF-IDF-transformed** text for prediction.\n\n---\n\n## **Project Structure**\n\n- **`app.py`**: Streamlit application code for real-time spam email classification.\n- **`spam_mail_prediction.ipynb`**: Jupyter notebook for data preprocessing, model training, and evaluation.\n- **`models/`**: Stores trained models (`.pkl` files) for Logistic Regression, Naive Bayes, and Random Forest.\n- **`data/`**: Contains the dataset `mail_data.csv`.\n- **`output/`**: Contains visual outputs like `spam.png` and `not spam.png`.\n- **`requirements.txt`**: Lists required Python packages.\n- **`README.md`**: Overview and setup instructions for the project.\n\n---\n\n## **Setup Instructions**\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/coding-for-it/spam-mail-prediction.git\n   cd spam-mail-prediction\n\n2. **Install dependencies**:\n   ```bash\n   pip install -r requirements.txt\n\n3. **Run the Streamlit app**:\n   ```bash\n   streamlit run app.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoding-for-it%2Fspam-mail-prediction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoding-for-it%2Fspam-mail-prediction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoding-for-it%2Fspam-mail-prediction/lists"}