Skip to content
Snippets Groups Projects

WIP: Fix incorrect default feature value for catboost and added isMuon check with catboost

Closed Mikhail Belous requested to merge fix_cb_feature into master
3 unresolved threads

@dovombru @nkazeev I have tested this code with several different configuration you can check it below and I fix a bug with incorrect default features. Fixing #93 (closed)

Catboost 0:
Muon matching:
Muon fraction in all MCPs: 59295/ 4095296 0.01%
Muon fraction in MCPs to which a track(s) was matched: 5365/ 212348 0.03% \Correctly identified muons with isMuon: 4044/ 5365 75.38%
Correctly identified muons from strange decays with isMuon: 1/ 3 33.33%
Correctly identified muons from B decays with isMuon: 264/ 315 3.81%
Tracks identified as muon with isMuon, but matched to non-muon MCP: 5647/ 206983 2.73%
Ghost tracks identified as muon with isMuon: 492/ 18092 2.72%

Catboost -10:
Muon matching:
Muon fraction in all MCPs: 59295/ 4095296 0.01% \ Muon fraction in MCPs to which a track(s) was matched: 5365/ 212348 0.03%
Correctly identified muons with isMuon: 4780/ 5365 89.10%
Correctly identified muons from strange decays with isMuon: 3/ 3 100.00%
Correctly identified muons from B decays with isMuon: 290/ 315 92.06%
Tracks identified as muon with isMuon, but matched to non-muon MCP: 26297/ 206983 12.70%
Ghost tracks identified as muon with isMuon: 2520/ 18092
13.93%

Catboost -100:
Correctly identified muons with isMuon: 4780/ 5365 89.10%
Correctly identified muons from strange decays with isMuon: 3/ 3 100.00%
Correctly identified muons from B decays with isMuon: 290/ 315 92.06%
Tracks identified as muon with isMuon, but matched to non-muon MCP: 26297/ 206983 12.70%
Ghost tracks identified as muon with isMuon: 2520/ 18092 13.93%

Without catboost:
Muon matching:
Muon fraction in all MCPs: 59295/ 4095296 0.01%
Muon fraction in MCPs to which a track(s) was matched: 5365/ 212348 0.03%
Correctly identified muons with isMuon: 4780/ 5365 89.10%
Correctly identified muons from strange decays with isMuon: 3/ 3 100.00% Correctly identified muons from B decays with isMuon: 290/ 315 92.06%
Tracks identified as muon with isMuon, but matched to non-muon MCP: 26297/ 206983 12.70%
Ghost tracks identified as muon with isMuon: 2520/ 18092 13.93%

Edited by Mikhail Belous

Merge request reports

Requires 2 approvals from eligible users.

Closed by Mikhail BelousMikhail Belous 4 years ago (Jan 21, 2021 5:25pm UTC)

Merge details

  • The changes were not merged into master.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
6 6 {
7 7 bool decision = track.chi2 / track.ndof < maxChi2Ndof;
8 8 decision &= track.pt() > singleMinPt;
9 decision &= track.is_muon;
9 decision &= track.is_muon; //todo: fix it
  • 64 64 LHCbIDs ids() const { return allids; }
    65 65
    66 66 int nIDs() const { return allids.size(); }
    67 inline bool isMuon() const {
    68 //#ifdef USE_CATBOOST_FOR_MUONS
  • mentioned in issue Moore#203 (closed)

  • mentioned in issue Moore#205 (closed)

  • mentioned in issue Moore#206 (closed)

  • Dorothea Vom Bruch marked as a Work In Progress

    marked as a Work In Progress

  • Mikhail Belous changed the description

    changed the description

  • Please register or sign in to reply
    Loading