-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
introduce const variant of XGBooster::predict
and use it in PhotonXGBoostEstimator
#45232
introduce const variant of XGBooster::predict
and use it in PhotonXGBoostEstimator
#45232
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45232/40607
|
A new Pull Request was created by @mmusich for master. It involves the following packages:
@mandrenguyen, @cmsbuild, @jfernan2 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
test parameters:
|
@cmsbuild, please test |
PhotonXGBoostProducer
and edm::stream::EDProducer
PhotonXGBoostProducer
an edm::stream::EDProducer
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f6a577/39906/summary.html Comparison SummarySummary:
|
b857a66
to
0cb0985
Compare
PhotonXGBoostProducer
an edm::stream::EDProducer
XGBooster::predict
and use it in PhotonXGBoostEstimator
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45232/40614
|
Pull request #45232 was updated. @jfernan2, @mandrenguyen, @valsdav, @cmsbuild, @wpmccormack can you please check and sign again. |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f6a577/39909/summary.html Comparison SummarySummary:
|
urgent
|
+1 |
+ml |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
fixes #45235
PR description:
Addresses #45085 (comment) by using the suggestion at #45235 (comment).
This avoids to call
XGBooster::predict()
right after a call toXGBooster::reset()
, leading to evaluatingNaN
-s in the input feature vector.PR validation:
Run the following script:
and didn't observe crashes, whereas without this it crashes around 10% of times (3 times out of 30).
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Not a backport, but if accepted will be backported.