-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Address minor comments in #2243 #2369
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
Conversation
Thanks @wschin , even though this is a small PR, please edit the description and at least mention the other PR here so that they are actually linked. |
Codecov Report
@@ Coverage Diff @@
## master #2369 +/- ##
=========================================
Coverage ? 71.24%
=========================================
Files ? 783
Lines ? 140721
Branches ? 16086
=========================================
Hits ? 100261
Misses ? 36006
Partials ? 4454
|
/// first leaf in the underlying <see cref="_tree"/>. | ||
/// <see langword="~"/>(-1)-th leaf in the underlying <see cref="_tree"/>. Note that <see langword="~"/> is the | ||
/// bitwise complement operator in C#; for details, see | ||
/// https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/operators/bitwise-complement-operator. |
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.
see the documentation about the bitwise complement operator
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 think I asked this question in previous PR, but I can't find that any more, so I ask again. Refers to: src/Microsoft.ML.FastTree/TreeEnsemble.cs:25 in 2eb1ef2. [](commit_id = 2eb1ef2, deletion_comment = False) |
@TomFinley, do you have any idea about exposing trees' weights to users? They are extracted from |
Trees definitely do have weights attached to them. If some code was written that does not account for them, then we ought to address that. Now, functionally I expect this won't have an effect since the weights are under most situations 1, but, that's besides the point. Here's an example where the weights seem to be taken into account. You can find other usages here and there.
I think having weights on the trees themselves is useful, and we should continue to have them. |
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.
Thanks @wschin !
This paper continues addressing some small comments left in #2243.