{"id":25717731,"url":"https://github.com/silky-x0/spam-detector","last_synced_at":"2026-04-16T10:01:51.793Z","repository":{"id":276960625,"uuid":"871002836","full_name":"silky-x0/Spam-detector","owner":"silky-x0","description":"An machine learning algorithm to detect spam emails or such.","archived":false,"fork":false,"pushed_at":"2025-02-11T10:52:39.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-27T11:17:50.762Z","etag":null,"topics":["jupyter-notebook","nltk-python","pandas","python3","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/silky-x0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-10-11T04:34:13.000Z","updated_at":"2025-02-11T10:52:43.000Z","dependencies_parsed_at":"2025-02-12T16:33:04.787Z","dependency_job_id":null,"html_url":"https://github.com/silky-x0/Spam-detector","commit_stats":null,"previous_names":["silky-x0/spam-detector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/silky-x0/Spam-detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silky-x0%2FSpam-detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silky-x0%2FSpam-detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silky-x0%2FSpam-detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silky-x0%2FSpam-detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silky-x0","download_url":"https://codeload.github.com/silky-x0/Spam-detector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silky-x0%2FSpam-detector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31880882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","nltk-python","pandas","python3","scikit-learn"],"created_at":"2025-02-25T15:49:08.889Z","updated_at":"2026-04-16T10:01:51.782Z","avatar_url":"https://github.com/silky-x0.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📧 Spam Detector 🔍\n\n![Spam Detector](https://img.shields.io/badge/Spam-Detection-green?style=for-the-badge\u0026logo=python)\n\n## 🚀 Overview\nThis project is a **Spam Detector** that classifies messages as *spam* or *ham* (not spam) using **Natural Language Processing (NLP)** techniques and **Machine Learning** models. 🤖\n\n## 📌 Features\n✅ Preprocesses text data (tokenization, stopword removal, stemming) 🔄\n✅ Uses **TF-IDF vectorization** for feature extraction 📊\n✅ Implements **Naïve Bayes classifier** for spam detection 📡\n✅ Achieves high accuracy with **Scikit-learn** models 🎯\n✅ Supports both **Jupyter Notebook** and **Python scripts** 🐍\n\n## 🛠️ Tech Stack\n- **Python** 🐍\n- **NLTK** 📖\n- **Pandas** 🏗️\n- **Scikit-learn** 🧠\n- **NumPy** 🔢\n- **Matplotlib/Seaborn** 📊\n\n\n## 🛠️ Installation \u0026 Setup\n1️⃣ Clone the repository:\n```bash\ngit clone https://github.com/yourusername/spam-detector.git\ncd spam-detector\n```\n2️⃣ Install dependencies:\n```bash\npip install -r requirements.txt\n```\n3️⃣ Run Jupyter Notebook:\n```bash\njupyter notebook\n```\n\n## 🎯 Usage\nTo detect spam messages:\n```python\nfrom scripts.predict import predict_spam\nmessage = \"Congratulations! You've won a free iPhone!\"\nprint(predict_spam(message))  # Output: Spam 🚨\n```\n\n## 📊 Results\nThe model achieves an **accuracy of 95%** on the test dataset. 🚀\n\n## 🤝 Contributing\nContributions are welcome! Feel free to open a PR or issue. 💡\n\n## 📜 License\nMIT License © 2025 Akhilesh tiwari. 📝\n\n---\n🌟 **Star this repo if you found it useful!** ⭐\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilky-x0%2Fspam-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilky-x0%2Fspam-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilky-x0%2Fspam-detector/lists"}