# MVA variables correlations

**URL:** <https://root-forum.cern.ch/t/mva-variables-correlations/28509>\
**Category:** TMVA\
**Created:** [March 29, 2018, 3:21pm UTC](https://root-forum.cern.ch/t/mva-variables-correlations/28509 "2018-03-29T15:21:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![calbet](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@calbet](https://root-forum.cern.ch/u/calbet)\
**Post date:** [March 29, 2018, 3:21pm UTC](https://root-forum.cern.ch/t/mva-variables-correlations/28509/1 "2018-03-29T15:21:15Z")

</div>

Dear experts,  
I always heard that we should care about the variables correlation in the TMVA. But if I used a lots of variables, such that there are correlations, but in the end I have a good separation and nice ROC curve, is there a good reason “other then time saving…”, that I should not use correlated variables? I mean will the result still make sense despite this correlations?  
Regards

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [April 10, 2018, 6:06am UTC](https://root-forum.cern.ch/t/mva-variables-correlations/28509/2 "2018-04-10T06:06:11Z")

</div>

This question is vague. What kind of variables are you talking about? Could you please give a more specific example? I don’t think that it’s possible to give you a clear answer otherwise. Are you using a neural network with more neurons/layers than necessary to separate signal/background? It might be a problem due to [overfitting](https://en.wikipedia.org/wiki/Overfitting), for example.

---

<div class="post-metadata">

**Author:** ![calbet](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@calbet](https://root-forum.cern.ch/u/calbet)\
**Post date:** [April 10, 2018, 3:37pm UTC](https://root-forum.cern.ch/t/mva-variables-correlations/28509/3 "2018-04-10T15:37:35Z")

</div>

Dear Amadio,  
if I use pt1, pt2 et pt(1+2), we expect pt(1+2) to be correlated with pt1 and pt2. Now I wonder if it is a problem to use the 3rd variables in the DNN despite its correlation with the 2 other one?  
Regards

---

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [April 10, 2018, 3:50pm UTC](https://root-forum.cern.ch/t/mva-variables-correlations/28509/4 "2018-04-10T15:50:28Z")

</div>

Hi,

As discussed in [this answer](https://root-forum.cern.ch/t/tmva-correlated-variables/28618/4), in priciple not. However, if you introduce many variables with high correlation you can run into problems with training set size (many input variables implies a large input space and your problem can become under sampled).

Cheers,  
Kim
