-
Notifications
You must be signed in to change notification settings - Fork 540
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Universal Treelite tree walk function for FIL (#4407)
During treelite import, FIL walks each tree 4 times for 4 different purposes. As a first step in shrinking the code, rewrite all the walks in terms of a universal Treelite tree walk function, with two lambdas: one for inner (branch) node and one for leaf node visitation. Andy and Philip reviewed this PR presumably from this link: https://github.com/levsnv/cuml/pull/2/files?diff=unified&w=1 The contents are the same, it merely was parallelyzing reviews by making a PR vs a different PR (branch), which is now merged. Authors: - Levs Dolgovs (https://github.com/levsnv) Approvers: - Andy Adinets (https://github.com/canonizer) - Philip Hyunsu Cho (https://github.com/hcho3) - William Hicks (https://github.com/wphicks) URL: #4407
- Loading branch information
Showing
1 changed file
with
127 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters