lr-modeling

Official

Build white-box scorecards fast with WoE+LR.

Authoraliyun
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of producing an explainable binary risk scorecard when you need a transparent model for regulated or business-auditable decisioning.

Core Features & Use Cases

  • WoE optimal binning + Logistic Regression: Converts raw features into WoE-encoded bins, trains a Logistic Regression model, and derives a standard scorecard mapping.
  • Regulatory-friendly artifacts: Outputs coefficient tables, WoE-to-score contributions, a deployable scorecard JSON (bin-to-score mapping), and a Markdown modeling report with AUC/KS/BCR and stability sections.
  • Uses standard data splits and evaluations: Reuses the platform’s three-stage split (train/val/oot), AUC/KS evaluation, and stability analysis hooks; designed for production workflow consistency.

Quick Start

Use the lr-modeling skill with your dataset file, specifying the target column and optional time column, to generate the WoE+LR scorecard artifacts and evaluation report in an output directory.

Dependency Matrix

Required Modules

scikit-learnnumpypandasjobliboptbinningscipyxgboost

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lr-modeling
Download link: https://github.com/aliyun/qwen-dianjin/archive/main.zip#lr-modeling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.