AI-powered placement risk modelling for education loan portfolios.
PlacementIQ is a lender-facing prototype for NBFC education loan monitoring. It predicts whether a borrower is likely to be placed before or soon after moratorium exit, then gives risk teams a forward-looking Placement Risk Score, placement probabilities, expected salary band, explainability drivers, and recommended interventions.
- Python: 3.11.0 or above
- Node.js: 24 or above
- NPM: Latest version
main/ Next.js frontend dashboard
ml/ Python backend and ML models
ml/api.py FastAPI scoring API
ml/scripts/ Data generation and training scripts
ml/models/ Trained model artifacts
ml/data/ Seed and synthetic data
requirements.txt Python dependencies
package.json Frontend dependencies (in main/)
Dockerfile API container setup
Create a virtual environment and install dependencies:
python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txtRun the scoring API:
python -m uvicorn ml.api:app --reloadThe API will be available at http://127.0.0.1:8000/docs.
Navigate to the main folder and install dependencies:
cd main
npm installRun the development server:
npm run devThe dashboard will be available at http://localhost:3000.
Generate the synthetic training dataset:
python ml/scripts/generate_synthetic_data.py --rows 25000Train the models:
python ml/scripts/train_boosted_models.pyTrained on 25,000 synthetic rows with a 20,000 / 5,000 train-test split:
- 3-month placement, Stage 2 LightGBM: AUC
0.8122, accuracy0.7462 - 6-month placement, Stage 2 LightGBM: AUC
0.8676, accuracy0.8812 - 12-month placement, Stage 2 LightGBM: AUC
0.8967, accuracy0.9542 - Salary LightGBM: MAE
0.9625 LPA, RMSE1.2041 LPA
PlacementIQ uses a hybrid data approach to ensure both realism and privacy:
- Institutional Data (Actual): The model is seeded with actual NIRF Engineering 2024 rankings. This provides a grounded baseline for institutional quality, placement history, and regional demand signals.
- Student-Level Factors (Synthetic): Individual student attributes—such as academic performance (CGPA), internship history, certifications, and interview activity—are synthetically generated. This approach allows for a robust, diverse dataset without compromising sensitive private borrower information.
- GPA Scaling: Academic results are normalized to a standard 10-point scale, accommodating both Indian and international grading systems.
- Fairness by Design: Sensitive demographic features (Gender, Caste, Religion, Origin) are excluded from the model features to prevent automated bias, used only for auditability and fairness monitoring.
PlacementIQ is decision support, not an automated loan rejection tool. Every model score is backed by SHAP explainability artifacts so a lender can inspect the drivers behind the score.
docker build -t placementiq-api .
docker run -p 8000:8000 placementiq-api