百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

scorecardpy

> 编程语言
开源

Python 中的评分卡开发

796 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Python 中的评分卡开发

scorecardpy

This package is python version of R package scorecard. Its goal is to make the development of traditional credit risk scorecard model easier and efficient by providing functions for some common tasks.

  • data partition (split_df)
  • variable selection (iv, var_filter)
  • weight of evidence (woe) binning (woebin, woebin_plot, woebin_adj, woebin_ply)
  • scorecard scaling (scorecard, scorecard_ply)
  • performance evaluation (perf_eva, perf_psi)

Performance Optimizations

This fork includes several performance improvements over the original scorecardpy:

  • WOE Binning Optimization: Pre-compiled regex patterns and reduced DataFrame chaining in woebin functions for faster binning
  • Performance Evaluation Optimization: Replaced manual AUC calculation with sklearn.metrics.roc_auc_score for significant speedup; eliminated eval() usage with dictionary-based function dispatch for better security and performance

Installation

  • Install the release version of scorecardpy from PYPI with:
pip install scorecardpy
  • Install the latest version of scorecardpy from github with:
pip install git+git://github.com/shichenxie/scorecardpy.git

Example

This is a basic example which shows you how to develop a common credit risk scorecard:

…

Issues· 38 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonbinningcredit-scoringpythonrelease

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言