How wavetnsch/credit-scorecard-development works
This repository is a Python credit-scorecard development toolkit and notebook workflow. Its main path is to load and clean credit-bureau data, explore the portfolio, transform predictors with WoE/IV, fit a logistic-regression scorecard with PDO scaling, and evaluate discrimination and stability. Synthetic data generation is a separate fallback capability. The README documents the notebook stages and dataset; source excerpts show the implementation of the toolkit modules. The notebook itself was not sampled, so its internal calls are not asserted.
Main entry points: a_score_model.ipynb Development notebook · data Local CSV data · data_loader.py Load and clean · scorecard.py Logistic scorecard
Components 12
Data preparation
- Local CSV data
data - Load and clean
src/data_loader.py - Synthetic data
src/data_generator.py - Portfolio EDA
a_score_model.ipynb
Scorecard development
- Development notebook
a_score_model.ipynb - WoE and IV
src/woe_iv.py - Logistic scorecard
src/scorecard.py - PDO score scaling
src/scorecard.py
Model evaluation
- Performance metrics
src/validation.py - Population stability
src/validation.py
Other components
- Analyst
- Kaggle dataset
Connections 11
- Kaggle dataset → Local CSV data: download dataset
README.md - Local CSV data → Load and clean: read CSV
src/data_loader.py - Load and clean → Development notebook: provide cleaned data
README.md - Synthetic data → Development notebook: fallback data
README.md - Analyst → Development notebook: run workflow
README.md - Development notebook → Portfolio EDA: explore portfolio
README.md - Development notebook → WoE and IV: transform features
README.md - Development notebook → Logistic scorecard: fit model
README.md - Logistic scorecard → PDO score scaling: map to points
src/scorecard.py - Development notebook → Performance metrics: evaluate model
README.md - Development notebook → Population stability: measure PSI
README.md