-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REVIEW] RF param initialization cython and C++ layer cleanup #3358
[REVIEW] RF param initialization cython and C++ layer cleanup #3358
Conversation
* deleting unused DecisionTreeParams class in cython layer * unifying the APIs that set params to randomforest class to create single point of entry
…nh-ext-rf-param-init-api-change
Will try to review this week. |
thanks @hcho3 😃 |
@hcho3 did you get a chance to review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I have some minor comments.
… enh-ext-rf-param-init-api-change
* pruned comments and a redundant line
rerun tests |
Oof! Looks like this ended up with some merge conflicts due to other RF merges. @venkywonka would you mind taking a look? We should still be able to get this into 0.18 |
… enh-ext-rf-param-init-api-change
sure @JohnZed , done! ✌🏾 |
… enh-ext-rf-param-init-api-change
rerun tests |
@venkywonka Can you bring your branch forward to 0.19? Also revert changes done to |
… enh-ext-rf-param-init-api-change
…om/venkywonka/cuml into enh-ext-rf-param-init-api-change
done vinay |
rerun tests |
… enh-ext-rf-param-init-api-change
rerun tests |
…aram-init-api-change
Codecov Report
@@ Coverage Diff @@
## branch-0.19 #3358 +/- ##
================================================
- Coverage 72.91% 44.96% -27.95%
================================================
Files 214 223 +9
Lines 16856 16932 +76
================================================
- Hits 12290 7613 -4677
- Misses 4566 9319 +4753
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM.
@gpucibot merge |
DecisionTreeParams
struct inrandomforest_shared.pxd
.set_rf_params
,set_all_rf_params
,set_rf_class_obj
) into a single point of parameter initialization (asset_rf_params
) in the C++ layer; and propagating the changes.