ScoreCardModel
ScoreCardModel is a professional and modern toolset for scorecard modeling, fully compatible with scikit-learn. It is designed for credit risk analysts and data scientists who need to build transparent, regulator-friendly scoring models with ease.
🚀 Key Features
- 🛠 Scikit-Learn Compatible:
BinningTransformer,WOETransformer, andScoreCardTransformerwork in anyPipelineorGridSearchCV. - 📊 Rich Analytics: 18+ plot types (KS, ROC, CAP, Lift, Calibration, PSI, etc.) for comprehensive model evaluation.
- 📝 Automated Reporting: Generate professional Markdown or Excel reports with one function call.
- 🔄 5 WOE Methods: Standard, Adjusted (Laplace), Empirical Logit, Signed, and Weighted Weight of Evidence.
- 🎮 Interactive Dashboard: A Jupyter-based what-if widget for real-time scorecard testing.
- 🏢 Industry Standard: Built-in support for PDO (Points to Double Odds) and Base-Odds scaling.
📸 Visual Gallery
| KS Curve | ROC Curve | CAP Curve |
|---|---|---|
| Score Distribution | Scorecard Waterfall | IV Summary |
|---|---|---|
📦 Installation
pip install scorecard-toolkit
⚡ Quick Start
from ScoreCardModel import ScoreCardWrapper
# Initialize and fit
sc = ScoreCardWrapper(binning_strategy='quantile', base_points=600, pdo=20)
sc.fit(X_train, y_train)
# Predict scores and export scorecard
scores = sc.predict(X_test)
card = sc.export_scorecard()
print(card.head(10))
📚 Documentation
Visit scorecardmodel.readthedocs.io for the full documentation, including:
🤝 Contributing
We welcome contributions! Please see our Contributing Guidelines for more details.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for scorecard-toolkit 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scorecard_toolkit-2.0.0.tar.gz | 4.0 MB | Without provenance | Details for scorecard_toolkit-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scorecard_toolkit-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for scorecard_toolkit-2.0.0-py3-none-any.whl |
Total release size: 4.0 MB
Release files / scorecard_toolkit-2.0.0.tar.gz
| Download URL | scorecard_toolkit-2.0.0.tar.gz |
|---|---|
| Size | 4.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d652e25909d5c079af9142ab8da7fa0edb7d80f1c2e2380a2fbed605833d48bc
|
|
BLAKE2b-256 checksum How to use checksums |
bf279aac2c4ef5827a8000953ab600b7b51cbf90a64c4f4d055c67d853747f1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / scorecard_toolkit-2.0.0-py3-none-any.whl
| Download URL | scorecard_toolkit-2.0.0-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5488b1c53bfa03f42ca8e41ba9ffd7cb066d1970da7b8982ba5bcbaa6f3e7be
|
|
BLAKE2b-256 checksum How to use checksums |
c1d3e8499f7585b410ed4f949d514c1ee29615813c18290b1c80d4ec2a2f8a47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for scorecard-toolkit 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.