Adding support for per-observation loss weighting (instead of subsampling)#763
Open
novaktim wants to merge 1 commit into
Open
Adding support for per-observation loss weighting (instead of subsampling)#763novaktim wants to merge 1 commit into
novaktim wants to merge 1 commit into
Conversation
Author
|
Hello Mr. Wright and team, thank you for taking an interest in my work. I’ve noticed there are some merge conflicts on the up-to-date master branch—I’d be also happy to resolve those once you’ve agreed on the overall approach. Best regards, |
|
This would be a great feature to have! |
Member
|
Thanks, this looks great and we should definitely have it! A few thoughts:
|
|
@mnwright : What about replacing |
Member
|
I think we should keep the bootstrap weights. Also replacing is not a good idea for consistency over versions. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request is submitted in response to the exchange between Philipp Doebler and Marvin N. Wright. The code itself was developed as part of my bachelor thesis (Tim Novak, 2023) supervised by Philipp Doebler and Susanne Frick. Rather than subsampling observations to achieve weighting effects, users can now supply a loss.weights vector that is applied in the split‐rule and node‐impurity calculations of regression/probability trees.
Changes
Next Steps
Compatibility & Testing
Built on top of past commit SHA 38560f2 (March 31, 2023)
All existing tests including the additional one passed on Windows 10
Risks