-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Respect group id in options for ranking task #2742
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
Respect group id in options for ranking task #2742
Conversation
najeeb-kazmi
left a comment
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.
![]()
Codecov Report
@@ Coverage Diff @@
## master #2742 +/- ##
=========================================
Coverage ? 71.67%
=========================================
Files ? 808
Lines ? 142280
Branches ? 16140
=========================================
Hits ? 101978
Misses ? 35862
Partials ? 4440
|
codemzs
left a comment
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.
![]()
| FeatureColumn = "NumericFeatures", | ||
| NumTrees = 10 | ||
| NumTrees = 10, | ||
| GroupIdColumn = "Group" |
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.
GroupIdColumn [](start = 20, length = 13)
I feel like this should be "GroupColumn" to fall more inline with FeatureColumn and LabelColumn.
| } | ||
|
|
||
| protected virtual void GetDefaultParameters(IChannel ch, int numRow, bool hasCategarical, int totalCats, bool hiddenMsg=false) | ||
| protected virtual void GetDefaultParameters(IChannel ch, int numRow, bool hasCategarical, int totalCats, bool hiddenMsg = false) |
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.
hasCategarical [](start = 82, length = 14)
misspelling -- should be hasCategorical.
| } | ||
|
|
||
| protected virtual void GetDefaultParameters(IChannel ch, int numRow, bool hasCategarical, int totalCats, bool hiddenMsg=false) | ||
| protected virtual void GetDefaultParameters(IChannel ch, int numRow, bool hasCategarical, int totalCats, bool hiddenMsg = false) |
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.
hiddenMsg [](start = 118, length = 9)
for the sake of not having short names -hiddenMessage?
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.
I'll leave that stuff to whoever would scrub lightgbm learners.
Fix #2652