This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
btag:tmva [2014/12/17 14:43] – vlambert | btag:tmva [2014/12/17 14:53] – vlambert | ||
---|---|---|---|
Line 10: | Line 10: | ||
**2)** Make the trees really flat without vectors and set variables that are not defined for a given vertex category to a default value. For this, run your ntuples through **createNewTree.py** which will produce sets of new flat ntuples split in event range such as // | **2)** Make the trees really flat without vectors and set variables that are not defined for a given vertex category to a default value. For this, run your ntuples through **createNewTree.py** which will produce sets of new flat ntuples split in event range such as // | ||
- | *For the training, one can either combine these ntuples with hadd or leave them as is for the rest of the processing. | + | *//For the training, one can either combine these ntuples with hadd or leave them as is for the rest of the processing. |
**3)** Produce the category normalization weights for the training sample with **Normalization_Weights.C** and save the output to a text such as // | **3)** Produce the category normalization weights for the training sample with **Normalization_Weights.C** and save the output to a text such as // | ||
Line 24: | Line 24: | ||
-**weight_norm** | -**weight_norm** | ||
-**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** |
+ | The training samples are now ready for the training process with **tmva_training.py**. Make sure to create a directory called "// | ||
=== Evaluation Samples === | === Evaluation Samples === | ||
+ | **1)** Make the trees really flat without vectors and set variables that are not defined for a given vertex category to a default value. For this, run your ntuples through **createNewTree.py** which will produce sets of new flat ntuples split in event range such as // | ||
+ | |||
+ | **2)** The evaluation trees can be skimmed as well to make the evaluation process faster. The script **skimTT.py** will reference the event ranges in the file names for the flat trees and copy new skimmed trees that contain 10% (this can easily be modified) of the events from each of the flavour/ | ||
+ | |||
+ | *//Remember not to use the same skimming process for the evaluation as done for the training since one wants to keep the physical vertex category distribution for the process in the evaluation.// | ||
+ | |||
+ | **3)** Create the vertex category weights for the training samples with **biasTTbar.C** and save the output to a text file such as // | ||