-
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.
Fix RF classification irreproducibility (#3785)
This PR fixes of RF irreproducibility issue with following two changes - Make the `splits` argument to `computeSplitClassificationKernel / computeSplitRegressionKernel` `volatile`. This is necessary as `splits` is read and written by multiple threads in the same kernel. - Change the update logic to include ti-break based on `quesval` when `best_metric_val` and `colid` matches. Note: The fact that this changes fixes the irreproducibility in classification kernel means the kernel was selecting a suboptimal split in a very rare scenario due to L1 caching. Authors: - Vinay Deshpande (https://github.com/vinaydes) Approvers: - Thejaswi. N. S (https://github.com/teju85) URL: #3785
- Loading branch information
Showing
2 changed files
with
16 additions
and
9 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
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