Repository navigation
What's New
Fine-Tuning Support
- New
finetunermodule withfinetune_xgb(),finetune_lgb(),finetune_cb()helpers FineTuneResultdataclass with tree counts and feature metadata- Same-feature continued training and expanded-feature warm-start
n_base_treesparameter,from_finetune_result()classmethod,summarize_score_sources()on all constructorsTreeSourcecolumn in scorecard output (base/finetuned)
SHAP Integration
- SHAP-based scoring for XGBoost, LightGBM, and CatBoost
- Native SHAP extraction — no external
shappackage required method="shap"inpredict_score()andpredict_scores()
Type Checking
- Migrated from
tytomypywith custom type stubs (xgboost, catboost, lightgbm) - Zero
type: ignorecomments across all source and test files
Performance
- Vectorized
construct_scorecard()for XGBoost and LightGBM - Vectorized
get_leafs()and_convert_tree_to_points()for LightGBM
Other
- 144 tests passing
- Removed
requirements.txt(useuvdirectly)
See CHANGELOG.md for full details.