# Weights in TMVAClassificationApplication

**URL:** <https://root-forum.cern.ch/t/weights-in-tmvaclassificationapplication/22378>\
**Category:** TMVA\
**Created:** [December 18, 2016, 11:27am UTC](https://root-forum.cern.ch/t/weights-in-tmvaclassificationapplication/22378 "2016-12-18T11:27:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![panagiotis\_bellos](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/p/7feea3/32.png) [@panagiotis\_bellos](https://root-forum.cern.ch/u/panagiotis_bellos)\
**Post date:** [December 18, 2016, 11:27am UTC](https://root-forum.cern.ch/t/weights-in-tmvaclassificationapplication/22378/1 "2016-12-18T11:27:38Z")

</div>

hello everybody,

I want to analyze a MC sample with TMVAClassificationApplication. I have already trained and tested the methods using discrete samples (with weighted events) for signal and background . So I want to analyze a composite sample (containing signal and background), but I cannot find how to deal with the weight of the events. Is it possible to use weighted events in TMVAClassificationApplication?

thanks in advance!

---

<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:** [December 20, 2016, 9:16am UTC](https://root-forum.cern.ch/t/weights-in-tmvaclassificationapplication/22378/2 "2016-12-20T09:16:00Z")

</div>

Hi ,

I am not sure what exactly is your problem. You can just apply the event weight on the given output obtained by the classifier. Is this not correct for you ?

Lorenzo
