# TMVA variables - events

**URL:** <https://root-forum.cern.ch/t/tmva-variables-events/27675>\
**Category:** TMVA\
**Created:** [January 23, 2018, 11:30am UTC](https://root-forum.cern.ch/t/tmva-variables-events/27675 "2018-01-23T11:30:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/geo/32/15552_2.png) [@Geo](https://root-forum.cern.ch/u/Geo)\
**Post date:** [January 23, 2018, 11:30am UTC](https://root-forum.cern.ch/t/tmva-variables-events/27675/1 "2018-01-23T11:30:47Z")

</div>

Hello a theoretical question regarding TMVA. Can I have for background a root file that the variables inside the tree have different number of events? or there will be some issue?

cheers

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [January 25, 2018, 8:57am UTC](https://root-forum.cern.ch/t/tmva-variables-events/27675/2 "2018-01-25T08:57:20Z")

</div>

Hi,

No this is not possible now. Each feature (variable) passed to TMVA must have the same number of events, we do not support (yet) missing events.  
A possible workaround could be to assign a specific value for these missing events

Cheers

Lorenzo

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 8, 2018, 8:57am UTC](https://root-forum.cern.ch/t/tmva-variables-events/27675/3 "2018-02-08T08:57:21Z")

</div>

Closed on February 8, 2018, 8:57am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
