# Missing CorrelationMatrix histos in GUI?

**URL:** <https://root-forum.cern.ch/t/missing-correlationmatrix-histos-in-gui/31179>\
**Category:** TMVA\
**Created:** [October 18, 2018, 1:12pm UTC](https://root-forum.cern.ch/t/missing-correlationmatrix-histos-in-gui/31179 "2018-10-18T13:12:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicolas92](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/3da27b/32.png) [@Nicolas92](https://root-forum.cern.ch/u/Nicolas92)\
**Post date:** [October 18, 2018, 1:12pm UTC](https://root-forum.cern.ch/t/missing-correlationmatrix-histos-in-gui/31179/1 "2018-10-18T13:12:11Z")

</div>

Dear TMVA experts,

when I try to inspect the output of my BDT training with the GUI, all the functionalities are working apart from “Input Variable Linear Correlation Coefficients” ; I get the following error message :

`Did not find histogram CorrelationMatrixS in test.root`  
`Did not find histogram CorrelationMatrixB in test.root`

A similar issue was already mentionned in this topic [0]. As suggested I tried the tutorial example (TMVAClassification.C), but the conclusion is the same.

Could you please tell me if I forgot to do something ? I’m using ROOT6.14, and a small example code is attached.

Thanks,  
Nicolas

[0] [Missing TMVA plots and histograms](https://root-forum.cern.ch/t/missing-tmva-plots-and-histograms/29973)

[test.cxx](https://root-forum.cern.ch/uploads/default/original/3X/b/1/b1df918630c82cbac8961851d9ee673225e3bc90.cxx) (2.1 KB)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [October 18, 2018, 1:21pm UTC](https://root-forum.cern.ch/t/missing-correlationmatrix-histos-in-gui/31179/2 "2018-10-18T13:21:42Z")

</div>

May be @kialbert can help you .

---

<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:** [October 22, 2018, 9:32am UTC](https://root-forum.cern.ch/t/missing-correlationmatrix-histos-in-gui/31179/3 "2018-10-22T09:32:05Z")

</div>

Hi,

I cannot reproduce your problem neither in the latest master, nor on version 6.14/04 on lxplus using the TMVAClassificaiton.C tutorial example.

If you could provide more information about your environment, maybe we can figure out what might cause the issue. E.g. what distribution of root are you using (downloaded binaries, compiled yourself, running directly from lxplus, running from lcg distribution…)

Cheers,  
Kim

---

<div class="post-metadata">

**Author:** ![Nicolas92](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/3da27b/32.png) [@Nicolas92](https://root-forum.cern.ch/u/Nicolas92)\
**Post date:** [October 22, 2018, 2:53pm UTC](https://root-forum.cern.ch/t/missing-correlationmatrix-histos-in-gui/31179/4 "2018-10-22T14:53:42Z")

</div>

Hi Kim,

thank you for having a look. I am working locally, I downloaded the source code and compiled it following the “Quick Start” instructions. The version is :

`Built for linuxx8664gcc | From tag v6-14-00`

You’re right that the problem is on my end, since when I produce the file on lxplus, I am able to get the correlation plot when reading it locally. I guess there is a problem with `TMVA::Factory::WriteDataInformation()` (I’m not sure at which point it is called), which is expected to create the correlation matrices…

If you have a suggestion I’m more than happy to try it, otherwise it’s not big a deal.

Thanks,  
Nicolas

---

<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:** [October 22, 2018, 3:20pm UTC](https://root-forum.cern.ch/t/missing-correlationmatrix-histos-in-gui/31179/5 "2018-10-22T15:20:47Z")

</div>

Hi,

I think there was a bug in 6.14/00 that incorrectly handled the correlation matrix. Please try the latest patch release 6.14/04 !

Cheers,  
Kim

---

<div class="post-metadata">

**Author:** ![Nicolas92](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/n/3da27b/32.png) [@Nicolas92](https://root-forum.cern.ch/u/Nicolas92)\
**Post date:** [October 23, 2018, 9:11am UTC](https://root-forum.cern.ch/t/missing-correlationmatrix-histos-in-gui/31179/6 "2018-10-23T09:11:16Z")

</div>

Thank you very much, upgrading to the latest version indeed solved the problem.

Cheers,  
Nicolas
