dmitryikh / leaves

pure Go implementation of prediction part for GBRT (Gradient Boosting Regression Trees) models from popular frameworks
MIT License
419 stars 72 forks source link

#51 obtain the leaf index of gbdt tree #62

Closed grasevski closed 3 years ago

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 148


Changes Missing Coverage Covered Lines Changed/Added Lines %
leaves.go 9 10 90.0%
<!-- Total: 20 21 95.24% -->
Totals Coverage Status
Change from base Build 143: 0.2%
Covered Lines: 1688
Relevant Lines: 2407

💛 - Coveralls
grasevski commented 4 years ago

OK I've addressed your comments and only implemented for lightgbm as it seems the leaves aren't reordered in that implementation from what I can see. Also I'm only using lightgbm so that is ok for my use case.

dmitryikh commented 3 years ago

done in #76.