Skip to content
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

DeepCSV and CSVv2 negative tagger bugfix #23206

Merged
merged 18 commits into from Jun 1, 2018

Conversation

emilbols
Copy link
Contributor

@emilbols emilbols commented May 15, 2018

A series of bugs that were discovered in the current implementation of the DeepCSV and CSVv2 negative tagger has been fixed in this PR. A description of the bugs and the negative taggers in general can be found in this presentation at the BTV meeting [1].

It was also discovered that in the method used for producing inclusive secondary vertices, there is a cut on the angle between the vertex flight direction and the direction of the track sum. This cut needs to be inverted for a negative tagger, so a vertexing sequence with correct cuts for a negative tagger has been introduced.

In the plot [2] the negative tagger of DeepCSV is shown. The negative tagger discriminator values are shown from -1 to 0, and the full tagger is shown from 0 to 1.

[1] https://indico.cern.ch/event/713923/contributions/2938152/attachments/1620844/2578707/NegativeTagger.pdf

[2]
deepcsvnegativetagger

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23206/4664

Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23206/4664/git-diff.patch
e.g. curl https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23206/4664/git-diff.patch | patch -p1

You can run scram build code-checks to apply code checks directly

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @emilbols for master.

It involves the following packages:

PhysicsTools/PatAlgos
RecoBTag/Combined
RecoBTag/DeepFlavour
RecoBTag/SecondaryVertex
RecoVertex/AdaptiveVertexFinder

@perrotta, @monttj, @cmsbuild, @slava77, @gpetruc, @arizzi can you please review it and eventually sign? Thanks.
@TaiSakuma, @gouskos, @felicepantaleo, @rappoccio, @ahinzmann, @seemasharmafnal, @mmarionncern, @imarches, @makortel, @acaudron, @jdolen, @ferencek, @GiacomoSguazzoni, @rovere, @VinInn, @jdamgov, @nhanvtran, @gkasieczka, @schoef, @ebrondol, @dgulhan, @JyothsnaKomaragiri, @mverzett, @gpetruc, @mariadalfonso, @pvmulder this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

Pull request #23206 was updated. @perrotta, @monttj, @cmsbuild, @slava77, @gpetruc, @arizzi can you please check and sign again.

@slava77
Copy link
Contributor

slava77 commented May 30, 2018 via email

@ferencek
Copy link
Contributor

Please note that having a set of commits that introduces new features followed by a set of commits that reverts them as part of a PR is generally a bad idea. It unnecessarily pollutes the official code history and on top of that makes rebasing potentially quite painful if merge conflicts appear anywhere along the commit history. With the latest changes the PR name and description should in principle also be updated in order not to be misleading.

@emilbols emilbols changed the title Deep Negative Taggers + DeepFlavour re-training DeepCSV and CSVv2 negative tagger bugfix May 30, 2018
@emilbols
Copy link
Contributor Author

Updated the description and title of this PR to reflect the recent changes

@slava77
Copy link
Contributor

slava77 commented May 31, 2018

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 31, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28325/console Started: 2018/05/31 15:12

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-23206/28325/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2902471
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2902279
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@slava77
Copy link
Contributor

slava77 commented May 31, 2018

+1

for #23206 2d46d43

  • bugfixes in negative taggers (not including fixes in DeepFlavour, due to pending overlap ordering choice wrt TensorFlow-based DeepDoubleB tagger integration #23033 ). Changes look reasonable. The updates in this PR do not affect taggers running in standard workflows.
  • jenkins tests pass and comparisons with the baseline show no differences.

@fabiocos
Copy link
Contributor

fabiocos commented Jun 1, 2018

@emilbols @slava77 as far as I can see from my check, this PR and #23033 are technical independent, so the order in which they are merged does not matter. Could you please confirm?

@slava77
Copy link
Contributor

slava77 commented Jun 1, 2018 via email

@fabiocos
Copy link
Contributor

fabiocos commented Jun 1, 2018

+1

@fabiocos
Copy link
Contributor

fabiocos commented Jun 1, 2018

merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants