# \[TMVA\] Reader Output Changes from Root 5.28 to 5.30

**URL:** <https://root-forum.cern.ch/t/tmva-reader-output-changes-from-root-5-28-to-5-30/13313>\
**Category:** TMVA\
**Created:** [November 4, 2011, 8:42pm UTC](https://root-forum.cern.ch/t/tmva-reader-output-changes-from-root-5-28-to-5-30/13313 "2011-11-04T20:42:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsaxon](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/j/c77e96/32.png) [@jsaxon](https://root-forum.cern.ch/u/jsaxon)\
**Post date:** [November 4, 2011, 8:42pm UTC](https://root-forum.cern.ch/t/tmva-reader-output-changes-from-root-5-28-to-5-30/13313/1 "2011-11-04T20:42:45Z")

</div>

Hi TMVA Experts,

(I also posted this to the sourceforge site; I’m not sure which is more correct.)

I trained a MLP net in root version 5.28 and have had good success with the training and performance, etc. It’s an astounding package!

I had a colleaguge check my results, and he got bogus output, using ROOT version 5.30. I confirmed that the output of the Reader changes when I skip versions.

I’m doing

reader = new TMVA::Reader(“Debug”);

reader-\>AddVarable(“var1”, &var1);  
…

reader-\>BookMVA(net\_id, Form(“weights/TMVAnalysis\_MLP\_N3\_fileX.weights.xml”);  
…

(Where net\_id is a string labelling to fileX. I have 105 neural nets that are all being loaded to the same reader, corresponding to different eta regions, pt, and conversion…)

I then evaluate normally

reader-\>EvaluateMVA(net\_id);

This all worked fine in 5.28. Is there any reason that things should change to 5.30? I would have thought that the package reader output would be completely stable to changes between releases, given a set of weights – the same values in should give the same value out! Am I doing anything obviously wrong?

I’m sorry it is hard to post a ‘minimal example’ for a full NN implementation. My reader class is here:

[svnweb.cern.ch/trac/atlasusr/br … alPhoton.h](https://svnweb.cern.ch/trac/atlasusr/browser/jsaxon/Hgamgam/NeuralPhoton.h)

Thanks!!!  
Jamie Saxon
