# TMVA crashing: Helge, you have another bug

**URL:** <https://root-forum.cern.ch/t/tmva-crashing-helge-you-have-another-bug/13290>\
**Category:** TMVA\
**Created:** [November 1, 2011, 9:58pm UTC](https://root-forum.cern.ch/t/tmva-crashing-helge-you-have-another-bug/13290 "2011-11-01T21:58:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![opus117](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/o/278dde/32.png) [@opus117](https://root-forum.cern.ch/u/opus117)\
**Post date:** [November 1, 2011, 9:58pm UTC](https://root-forum.cern.ch/t/tmva-crashing-helge-you-have-another-bug/13290/1 "2011-11-01T21:58:14Z")

</div>

Hi Folks,

I am just starting (learning) how to use BDTs with TMVA. I did a test with a small sample of background and data. That seemed to work ok. So I threw much bigger trees at the code and it is crashing out with a wired error message

— TFHandler\_BDT : -----------------------------------------------------------------------------------------  
— TFHandler\_BDT : Variable Mean RMS [Min Max]  
— TFHandler\_BDT : -----------------------------------------------------------------------------------------  
— TFHandler\_BDT : MLR: 0.58518 10.889 [-99.000 11.738]  
— TFHandler\_BDT : MWR: 0.32689 10.851 [-99.000 9.9587]  
— TFHandler\_BDT : MSCW: 0.76385 11.196 [-99.000 90.979]  
— TFHandler\_BDT : MSCL: 0.41075 10.983 [-99.000 79.023]  
— TFHandler\_BDT : EmissionHeight: 16.308 22.326 [-99.000 6281.8]  
— TFHandler\_BDT : SizeSecondMax: 1107.0 4368.3 [150.00 1.0066e+06]  
— TFHandler\_BDT : theta2Calc: 3.2553 1553.3 [4.1362e-08 1.6739e+06]  
— TFHandler\_BDT : dist2Calc: 104.42 2181.6 [0.16345 2.1152e+06]  
— TFHandler\_BDT : -----------------------------------------------------------------------------------------  
— BDT : Begin training  
— BDT : Training 400 Decision Trees … patience please  
— DecisionTree : Helge, you have another bug …nSelS+nSelB= 1.71779e+06 while total number of events = 1.70045e+06  
\*\*\*\> abort program execution

Using root 5.24/00

Any ideas?

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [February 7, 2012, 3:51pm UTC](https://root-forum.cern.ch/t/tmva-crashing-helge-you-have-another-bug/13290/2 "2012-02-07T15:51:35Z")

</div>

Hi,

I recommend you try with ROOT 5.32. If this does not work, you should consider reporting this issue in the Math and Stat forum.

Cheers,  
Philippe.
