{"id":26098000,"url":"https://github.com/jgavinb/loan-model-fastapi","last_synced_at":"2026-04-25T03:48:17.379Z","repository":{"id":281373708,"uuid":"937353909","full_name":"jgavinb/loan-model-fastapi","owner":"jgavinb","description":"FastAPI deployment of a loan approval model.","archived":false,"fork":false,"pushed_at":"2025-03-08T16:10:59.000Z","size":263,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T13:49:09.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jgavinb.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":"2025-02-22T21:44:33.000Z","updated_at":"2025-03-08T16:11:03.000Z","dependencies_parsed_at":"2025-03-08T17:31:38.318Z","dependency_job_id":null,"html_url":"https://github.com/jgavinb/loan-model-fastapi","commit_stats":null,"previous_names":["jgavinb/loan-model-fastapi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jgavinb/loan-model-fastapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgavinb%2Floan-model-fastapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgavinb%2Floan-model-fastapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgavinb%2Floan-model-fastapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgavinb%2Floan-model-fastapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgavinb","download_url":"https://codeload.github.com/jgavinb/loan-model-fastapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgavinb%2Floan-model-fastapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32249492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T03:17:44.950Z","status":"ssl_error","status_checked_at":"2026-04-25T03:16:45.208Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2025-03-09T15:59:32.676Z","updated_at":"2026-04-25T03:48:12.369Z","avatar_url":"https://github.com/jgavinb.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Loan Default Prediction API\n\nA REST API for predicting loan default risk using a machine learning model trained with imbalanced data handling techniques. Built with FastAPI, imbalanced-learn, and Joblib.\n\n## Features\n\n- **Imbalanced Data Handling**: Utilizes various oversampling techniques from `imblearn` (e.g., SMOTE, ADASYN) to address class imbalance.\n- **Model Persistence**: Trained model and scaler saved using `joblib` for efficient storage and loading.\n- **REST API**: FastAPI-powered endpoint for real-time predictions.\n- **Scalable Inputs**: Input data is scaled using a pre-trained scaler before prediction.\n\n## Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/jgavinb/loan-default-prediction.git\n   cd loan-default-prediction\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgavinb%2Floan-model-fastapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgavinb%2Floan-model-fastapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgavinb%2Floan-model-fastapi/lists"}