# TMVA: add weighted variable

**URL:** <https://root-forum.cern.ch/t/tmva-add-weighted-variable/16964>\
**Category:** TMVA\
**Created:** [December 3, 2013, 2:57pm UTC](https://root-forum.cern.ch/t/tmva-add-weighted-variable/16964 "2013-12-03T14:57:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcgraba](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/d2c977/32.png) [@marcgraba](https://root-forum.cern.ch/u/marcgraba)\
**Post date:** [December 3, 2013, 2:57pm UTC](https://root-forum.cern.ch/t/tmva-add-weighted-variable/16964/1 "2013-12-03T14:57:00Z")

</div>

Dear experts,

I want to build a BDT with several variables out of which only one needs to be reweighted. So if I have in the ntuples the variables (a,b,c,d) I want the tmva to train and test with (alpha, b, c, d) where alpha is the reweighted ‘a’.

I have seen you can add a weight to the full signal or bkg sample, but it looks like there is no way to reweight an individual variable, is that true?

thanks  
marc
