{"id":28907690,"url":"https://github.com/mukeshthenraj/fraud-detection-model","last_synced_at":"2026-04-29T21:07:28.864Z","repository":{"id":299485716,"uuid":"1003208789","full_name":"Mukeshthenraj/Fraud-Detection-Model","owner":"Mukeshthenraj","description":"Logistic Regression, Grid Search, and ROC-PR curve evaluation on fraud detection dataset","archived":false,"fork":false,"pushed_at":"2025-06-16T20:38:35.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-16T20:42:26.203Z","etag":null,"topics":["classification","fraud-detection","machine-learning","numpy","pandas","scikit-learn"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Mukeshthenraj.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-16T19:45:08.000Z","updated_at":"2025-06-16T20:38:38.000Z","dependencies_parsed_at":"2025-06-16T20:42:29.104Z","dependency_job_id":"c65de90e-0bc8-448a-959f-7a72b4af5a85","html_url":"https://github.com/Mukeshthenraj/Fraud-Detection-Model","commit_stats":null,"previous_names":["mukeshthenraj/fraud-detection-model"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mukeshthenraj/Fraud-Detection-Model","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukeshthenraj%2FFraud-Detection-Model","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukeshthenraj%2FFraud-Detection-Model/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukeshthenraj%2FFraud-Detection-Model/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukeshthenraj%2FFraud-Detection-Model/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mukeshthenraj","download_url":"https://codeload.github.com/Mukeshthenraj/Fraud-Detection-Model/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukeshthenraj%2FFraud-Detection-Model/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261153583,"owners_count":23116915,"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":["classification","fraud-detection","machine-learning","numpy","pandas","scikit-learn"],"created_at":"2025-06-21T16:05:20.819Z","updated_at":"2026-04-29T21:07:28.857Z","avatar_url":"https://github.com/Mukeshthenraj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🕵️‍♂️ Fraud Detection Model\n\n![Python](https://img.shields.io/badge/Python-3.9+-blue?logo=python)\n![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)\n![Status](https://img.shields.io/badge/Status-Completed-brightgreen)\n\nThis project uses machine learning to detect fraud in a labeled dataset. It covers data preprocessing, model training, evaluation, and visualization of fraud prediction.\n\n---\n\n## 📂 Project Structure\n\n```\nFraud-Detection-Model/\n├── data/\n│   └── fraud_data.csv              # Dataset (CSV file)\n├── images/\n│   └── gridsearch_heatmap.png     # Heatmap of hyperparameter tuning\n├── notebooks/\n│   └── fraud_assignment.ipynb     # Jupyter notebook (main assignment)\n├── fraud_assignment.py            # Converted Python script version\n├── requirements.txt               # Project dependencies\n├── README.md                      # Project overview (this file)\n└── LICENSE                        # MIT License\n```\n\n## 📊 Dataset\n\nThe dataset (`fraud_data.csv`) contains observations labeled as fraudulent or not. The goal is to predict fraud using classification models.\n\n---\n\n## 🌟 Features\n\n- Load and explore the dataset\n- Train/test split\n- Use of `DummyClassifier` as baseline\n- Train classifiers like:\n  - Logistic Regression\n  - Support Vector Machines\n  - Decision Trees\n- Evaluate using:\n  - Accuracy\n  - Recall\n  - Precision\n  - Confusion Matrix\n- Visualization using seaborn/matplotlib\n- GridSearchCV for hyperparameter tuning\n\n---\n\n## 🛠️ Installation\n\nInstall dependencies:\n\n```bash\npip install -r requirements.txt\n```\n\nRun the notebook:\n\n```bash\njupyter notebook notebooks/fraud_assignment.py\n```\n\nOr run the Python script in PyCharm or terminal:\n\n```bash\npython fraud_assignment.py\n```\n\n---\n\n## 📊 Sample Visuals\n\n### 🔥 Grid Search Heatmap\n![Grid Search Heatmap](images/gridsearch_heatmap.png)\n\n---\n\n## 📌 Requirements\n\n```\n- Python 3.7+\n- scikit-learn\n- pandas\n- numpy\n- matplotlib\n- seaborn\n```\n\n---\n## 📄 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## 👤 Author\n\n[Mukesh Thenraj](https://www.linkedin.com/in/mukesh-thenraj)  \n📧 mukeshthenraj@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukeshthenraj%2Ffraud-detection-model","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmukeshthenraj%2Ffraud-detection-model","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukeshthenraj%2Ffraud-detection-model/lists"}