# Crash when trying to train a BDT using TMVAClassification.C

**URL:** <https://root-forum.cern.ch/t/crash-when-trying-to-train-a-bdt-using-tmvaclassification-c/25272>\
**Category:** TMVA\
**Created:** [June 23, 2017, 10:24am UTC](https://root-forum.cern.ch/t/crash-when-trying-to-train-a-bdt-using-tmvaclassification-c/25272 "2017-06-23T10:24:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdule](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/e36b37/32.png) [@gdule](https://root-forum.cern.ch/u/gdule)\
**Post date:** [June 23, 2017, 10:24am UTC](https://root-forum.cern.ch/t/crash-when-trying-to-train-a-bdt-using-tmvaclassification-c/25272/1 "2017-06-23T10:24:43Z")

</div>

EDIT:

Problem solved, the problem was not having a ‘weight’ leaf in my tree.

---

<div class="post-metadata">

**Author:** ![etejedor](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/e/e79b87/32.png) [@etejedor](https://root-forum.cern.ch/u/etejedor)\
**Post date:** [June 26, 2017, 9:47am UTC](https://root-forum.cern.ch/t/crash-when-trying-to-train-a-bdt-using-tmvaclassification-c/25272/2 "2017-06-26T09:47:31Z")

</div>

Closed on June 26, 2017, 9:47am UTC


