Skip to content

BinghuanLi/HjTagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# HjTagger
#################################
 This repository contains the script for Hj tagger study in ttH-Multileptons
 The machinary use sklearn and xgBoost
 Scripts in Folder examples are original scripts from
 1. https://xgboost.readthedocs.io/en/latest/
 2. https://github.com/HEP-KBFI/tth-bdt-training
#################################

cmsrel CMSSW_9_4_10
cd CMSSW_9_4_10/src
cmsenv

# set HjTagger
git clone [email protected]:BinghuanLi/HjTagger.git
cd HjTagger

# To prepare the data
# This will convert root files to save 1 jet per-event
# 1 event with N jet => N event with 1 jet
cd scripts
./runMVASkim.sh
cd -

# To train xgBoost
# This will create the 
# - BDT model .pkl
# - plots of feature distribution, correlation, importance
# - plots of Overtrain tests

cd python
python sklearn_xgboost.py
cd -

# Convert pkl to xml for TMVA user
cd test
python convert_pkl2xml.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published