ML modeling tools in python for risk management domain including loan, credit card, etc.
Project description
About The Project
While GitHub hosts many excellent risk modeling libraries, most emphasize traditional logistic regression approaches. This project addresses modern needs by:
- Focusing on tree-based methodologies (XGBoost, LightGBM)
- Providing essential modeling tools (PSI, IV, Bivar, etc.)
- Supporting documentation of all modeling steps
Library Functionality
📈 Modeling Procedure
- Hyperparameter Tuning:
random_search_xgboost(),random_search_lightgbm() - Model Training:
train_single_model_xgboost(),train_single_model_lightgbm() - Feature Analysis:
feature_importance()(gain-based),
variable_reduction()(feature-importance-driven selection) - Performance Metrics:
model_performance()(AUC, KS, Top Capture Rate, Top Bad Rate)
🛠️ Modeling Tools
- Stability Analysis:
calculate_numeric_psi(),calculate_categorical_psi() - Predictive Strength:
calculate_numeric_iv(),calculate_categorical_iv() - Feature Evaluation:
compute_numeric_bivar(),compute_categorical_bivar(),
proc_means()(quality checks) - UAT Support:
proc_compare()(feature-by-feature value validation)
Installation
Install the latest stable release from PyPI using pip:
pip install risk-modeling
Example
Detailed examples will be added in upcoming documentation updates.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file risk_modeling-1.1.0.tar.gz.
File metadata
- Download URL: risk_modeling-1.1.0.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14beb6d865a0352bfa96e45f970a1a3b521be3f6020634a831286bcb6650ceae
|
|
| MD5 |
3e38afc9ad86b8ec55e5182c0f7114aa
|
|
| BLAKE2b-256 |
a5d97b60dda419054920c69924ca6e3ccfb2377b81b147dc0548893a32c4477c
|
File details
Details for the file risk_modeling-1.1.0-py3-none-any.whl.
File metadata
- Download URL: risk_modeling-1.1.0-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9db56d047ec8bb2e32e22a6838537f23cfe1101893ee203be856a8e68b6ae00
|
|
| MD5 |
8fc0362b59b41eaa5c2d63d7674bb732
|
|
| BLAKE2b-256 |
5eeea2eff212529dd7aaee3e4f0d0151906bd1af668fb23ea1b4709a7ff06bc8
|