bank-score-2022

Compute loan default probability from 14 features using a logistic regression model.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/xiaonanji/ask_jeremy_v3 --skill bank-score-2022
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bank-score-2022
Source: https://github.com/xiaonanji/ask_jeremy_v3/tree/main/.agents/skills/bank-score-2022
Command: npx skills add https://github.com/xiaonanji/ask_jeremy_v3 --skill bank-score-2022

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The bank-score-2022 model provides a logistic regression based scoring framework that estimates the probability of loan default by binning input features and applying feature coefficients.

Core Features & Use Cases

  • Logistic regression scorecard using 14 input features converted into 52 dummy variables.
  • Explicit binning with coefficients per feature to compute logit and probability.
  • Example SQL workflow included to reproduce scores from input features.

Quick Start

Input the 14 bank features and apply the provided binning rules to obtain the probability of bad debt.

Frequently Asked Questions about bank-score-2022

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does a logistic regression scorecard calculate loan default probability?

To compute bad debt probability, input 14 bank features and apply predefined binning rules to map them into 52 dummy variables. Multiply these binned features by their coefficients, add a fixed intercept, and apply a final logistic transformation.

How do I compute credit underwriting scores from feature bins and coefficients?

Credit underwriting scores require mapping 14 input features to 52 binary dummy variables using explicit binning rules. You then apply feature coefficients and a fixed intercept before a final logistic transformation produces the default probability.

Can I use a SQL workflow to reproduce risk scoring for portfolio analytics?

Yes, an example SQL workflow is included to reproduce risk scoring for portfolio analytics. The workflow applies the binning rules and logistic regression coefficients to compute the probability of bad debt.

What input features are required for the bank-score-2022 risk model?

The bank-score-2022 risk model requires 14 input bank features. These features are mapped to 52 binary dummy variables through explicit binning rules to calculate the logit and final default probability.

When should I use a logistic regression risk model instead of other credit scoring approaches?

Use a logistic regression risk model when you need an interpretable scorecard with explicit binning and feature coefficients for credit underwriting. It maps fixed features to dummy variables, providing transparent logit calculations for default probability.