Individual skill
lr-modeling
【LR评分卡建模】当用户需要"逻辑回归"、"LR建模"、"评分卡"、"scorecard"、"WoE建模"、"跑个LR"时使用。基于 WoE 编码 + Logistic Regression 训练标准评分卡模型,输出系数表、分箱WoE映射、评分卡分数转换。复用平台已有的三段式数据切分、AUC/KS/BCR评估体系、稳定性分析。前提条件:需要已有数据集。**不做超参数调优**;不做特征工程。与 xgb-modeling 的区别:本 Skill 使用逻辑回归+WoE编码,输出可解释的评分卡模型;xgb-modeling 使用 XGBoost 树模型。
DianJin-SKILLS/financial-engineering-expert/lr-modeling/SKILL.md
Source commit e109a7d2da9899de597b81bea015fbf1b056a74a
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 642
- Repository last updated
- Oct 17, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- financial-large-language-model Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 5,663 bytesSKILL.mdcore · 5,663 bytesSKILL.mdcore · 5,663 bytesSKILL.mdcore · 5,663 bytesSKILL.mdcore · 5,663 bytesSKILL.mdcore · 5,663 bytes_vendor/__init__.pyruns · 321 bytes_vendor/data/__init__.pyruns · 989 bytes_vendor/data/loading.pyruns · 3,239 bytes_vendor/data/missing.pyruns · 6,431 bytes_vendor/data/splitting.pyruns · 20,407 bytes_vendor/data/woe_transform.pyruns · 8,666 bytes_vendor/data_utils.pyruns · 1,325 bytes_vendor/lr_cli.pyruns · 4,287 bytes_vendor/report_artifact.pyruns · 28,991 bytes_vendor/result_emitter.pyruns · 7,477 bytes_vendor/safety_gate.pyruns · 16,308 bytes_vendor/xgb_core/__init__.pyruns · 616 bytes_vendor/xgb_core/evaluator.pyruns · 22,271 bytes_vendor/xgb_core/stability.pyruns · 9,168 bytes_vendor/xgb_core/trainer.pyruns · 13,620 bytesscripts/modeling.pyruns · 23,799 bytes
Read excerpt
# LR 评分卡建模 (portable)
基于 WoE (Weight of Evidence) 编码 + Logistic Regression 进行二分类评分卡建模。
**核心流程**:原始特征 → WoE 最优分箱编码 → LR 训练 → 评分卡转换
**适用场景**:
- 风控评分卡开发(标准 A/B/C 卡)
- 需要强可解释性的业务场景
- 监管合规要求模型白盒化
---
## 参数说明