User Tools

Site Tools


btag:tmva

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
btag:tmva [2014/12/17 14:40] vlambertbtag:tmva [2014/12/17 14:46] vlambert
Line 18: Line 18:
 **5)** Create 2D Pt/Eta Histograms for the weighted ntuples with **createEtaPtWeightHists.py** (make sure "weight_norm*weight_category" are set for the weight in Draw() for the histograms). There will be 12 histograms created, 9 for the individual flavour/category files and 3 combined histograms, one for each flavour. **5)** Create 2D Pt/Eta Histograms for the weighted ntuples with **createEtaPtWeightHists.py** (make sure "weight_norm*weight_category" are set for the weight in Draw() for the histograms). There will be 12 histograms created, 9 for the individual flavour/category files and 3 combined histograms, one for each flavour.
  
-**6)** Make the final weighted ntuples making sure that the new Pt/Eta histogram files are pointed to in **addWeightBranch.py**. There should be six new branches created: +**6)** Make the final weighted ntuples making sure that the new Pt/Eta histogram files are pointed to in **addWeightBranch.py**. There should be six new branches created:\\ 
--weight_etaPt   : the Pt/Eta weight, specific for a flavour/category file (for category dedicated training) +-**weight_etaPt**   : the Pt/Eta weight, specific for a flavour/category file (for category dedicated training)\\ 
--weight_etaPtInc: the Pt/Eta weight, inclusive for the flavour +-**weight_etaPtInc**: the Pt/Eta weight, inclusive for the flavour\\ 
--weight_category: the category weight from the evaluation sample +-**weight_category**: the category weight from the evaluation sample\\ 
--weight_norm    : the normalization weight from the training sample +-**weight_norm**    : the normalization weight from the training sample\\ 
--weight_flavour : the ratio of the flavour prevalences in the evaluation process +-**weight_flavour** : the ratio of the flavour prevalences in the evaluation process\\ 
--weight         : (weight_etaPtInc) x (weight_norm x weight_category) x (weight_flavour)  +-**weight**         : (weight_etaPtInc) x (weight_norm x weight_category) x (weight_flavour) //-- this can be used for combined trainings//\\
  
 +The training samples are now ready for the training process with **tmva_training.py**. Make sure to create a directory called "//weights//" to save the output class and xml files from the training. 
  
 === Evaluation Samples === === Evaluation Samples ===
  
btag/tmva.txt · Last modified: 2014/12/17 14:53 by vlambert