Commit a87a659
committed
fix: Add complete LightGBM implementation (create_points, predict_score)
Critical fixes that were missing from squash merge:
- Implement create_points() with use_base_score parameter
- Implement predict_score() and predict_scores()
- Fix leaf ID mapping bug (extract actual ID from node_index)
- Add base score normalization for balanced tree contributions
- Update tests and examples with score visualization
This completes the 0.2.7rc1 release.1 parent f5e8b93 commit a87a659
File tree
5 files changed
+500
-279
lines changed- examples
- tests
- xbooster
5 files changed
+500
-279
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
674 | 675 | | |
675 | 676 | | |
676 | 677 | | |
677 | | - | |
| 678 | + | |
678 | 679 | | |
679 | 680 | | |
680 | 681 | | |
| |||
741 | 742 | | |
742 | 743 | | |
743 | 744 | | |
744 | | - | |
| 745 | + | |
745 | 746 | | |
746 | 747 | | |
747 | 748 | | |
| |||
777 | 778 | | |
778 | 779 | | |
779 | 780 | | |
780 | | - | |
| 781 | + | |
781 | 782 | | |
782 | 783 | | |
783 | 784 | | |
| |||
Large diffs are not rendered by default.
0 commit comments