# One question about variable ranking in TMVA package

**URL:** <https://root-forum.cern.ch/t/one-question-about-variable-ranking-in-tmva-package/46437>\
**Category:** TMVA\
**Created:** [August 25, 2021, 6:47am UTC](https://root-forum.cern.ch/t/one-question-about-variable-ranking-in-tmva-package/46437 "2021-08-25T06:47:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![melodynk](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/ba9def/32.png) [@melodynk](https://root-forum.cern.ch/u/melodynk)\
**Post date:** [August 25, 2021, 6:47am UTC](https://root-forum.cern.ch/t/one-question-about-variable-ranking-in-tmva-package/46437/1 "2021-08-25T06:47:09Z")

</div>

Hi all  
I recently notice one tiny difference about input variables ranking between method unspecific and method specific.  
if I do not assign the classfication method .The sum of all input variables’ weights are not normalizing to 1.As is shown in figure01.  
Conversely，if I assign one method such as BDT .The sum of all input variables’ weights are normalizing to 1.As is shown in figure02.  
I just wonder why we do not make a normalization in method unspecific situation.Besides,I would like to know the reason why the input variables ranking is different among different classfication method.Thanks so much!!

 ![rank01](https://root-forum.cern.ch/uploads/default/original/3X/d/0/d0de595d60976af8d4c0ef7327bd089a8f4a5cda.png)

 ![rank02](https://root-forum.cern.ch/uploads/default/original/3X/9/7/97d80872dada28a0fb875d5ba7eedf7cfac8d0b6.png)

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [August 27, 2021, 8:17am UTC](https://root-forum.cern.ch/t/one-question-about-variable-ranking-in-tmva-package/46437/2 "2021-08-27T08:17:51Z")

</div>

Hi @melodynk ,  
I think @moneta might be able to help, let’s ping him.

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [August 27, 2021, 10:06am UTC](https://root-forum.cern.ch/t/one-question-about-variable-ranking-in-tmva-package/46437/3 "2021-08-27T10:06:51Z")

</div>

HI,  
This input variable ranking is based on different method so it is different.  
The first one is based on the separation index of the input variables, see equation (1), page 25 of

> **[TMVAUsersGuide.pdf](https://root.cern.ch/download/doc/tmva/TMVAUsersGuide.pdf)**
>
> 3.82 MB

While the second one results from the BDT , see 8.13.4 in teh above Users Guide.

Cheers

Lorenzo
