Predicting Loan Default Risk in Nigeria Using Machine Learning and Macroeconomic Indicators
# Loan Default Prediction API
A production-ready machine learning API built with **FastAPI** that predicts the likelihood of a borrower defaulting on a loan using a **Random Forest Classifier**.
## 🚀 Live Demo
The API backend is securely hosted live on Render:
Live API Interactive Documentation
## 🛠️ Tech Stack
* **Framework:** FastAPI / Uvicorn
* **Machine Learning:** Scikit-Learn (Random Forest)
* **Data Handling:** Pandas, NumPy
* **Deployment:** Render Cloud Platform
## 📦 How to Test the Live API
1. Navigate to the live link above to access the interactive Swagger UI.
2. Expand your prediction endpoint route.
3. Click **"Try it out"**, fill in your sample borrower profile details, and hit
**"Execute"** to see live model responses!