Skip to content

v0.2.7a2 - LightGBM Alpha (Updated)

Pre-release
Pre-release

Choose a tag to compare

@xRiskLab xRiskLab released this 08 Nov 12:51
· 42 commits to main since this release

Alpha Release v0.2.7a2

This is an updated alpha release of LightGBM scorecard constructor support, including important CI and type checking fixes.

What's New in v0.2.7a2

  • ✅ Fixed CI/CD with missing lightgbm dependency
  • ✅ Added LightGBM type stubs for clean type checking
  • ✅ Consolidated shell scripts into enhanced Makefile with colored output
  • ✅ All 104 tests passing in CI

LightGBM Support (Alpha)

⚠️ Status: Alpha - 2 of 5 core methods implemented

Implemented:

  • extract_leaf_weights() - Parse LightGBM tree structure
  • get_leafs() - Get leaf indices and margins

Not Yet Implemented:

  • construct_scorecard() - WOE/IV calculations
  • create_points() - PDO scaling
  • predict_score() - Inference

Installation

pip install git+https://github.com/xRiskLab/xBooster.git@v0.2.7a2

Example Usage

See examples/lgb_constructor_example.py for a working demonstration.

Developer Improvements

All development tasks now available via make:

  • make ci-check - Run all CI checks locally (fast, no Docker)
  • make act-local - Run GitHub Actions locally (with Docker)
  • make help - See all available commands

Community

This alpha release is a reference implementation for issue #7 requested by @RektPunk. Community contributions welcome!


Full Changelog: v0.2.7a1...v0.2.7a2