# Does TMVA MLP work if IgnoreNegWeightsInTraining = False

**URL:** <https://root-forum.cern.ch/t/does-tmva-mlp-work-if-ignorenegweightsintraining-false/10349>\
**Category:** TMVA\
**Created:** [June 13, 2010, 6:53pm UTC](https://root-forum.cern.ch/t/does-tmva-mlp-work-if-ignorenegweightsintraining-false/10349 "2010-06-13T18:53:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yxie](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/y/35a633/32.png) [@yxie](https://root-forum.cern.ch/u/yxie)\
**Post date:** [June 13, 2010, 6:53pm UTC](https://root-forum.cern.ch/t/does-tmva-mlp-work-if-ignorenegweightsintraining-false/10349/1 "2010-06-13T18:53:40Z")

</div>

Hi experts,

I plan to train a neural net using a TMVA method and need to define both positive and negative event by event weights to cancel out the effects of some events in the training sample which are not of interest to the classification problem but are not clearly separated from the events we are interested in.

Is this possible with the TMVA MLP method if I set IgnoreNegWeightsInTraining = False?  
According to the TMVA users guide, no neural network supports negative event by event weight.

Thanks in advance.
