# TMVA kCuts output wrong

**URL:** <https://root-forum.cern.ch/t/tmva-kcuts-output-wrong/48573>\
**Category:** TMVA\
**Created:** [January 26, 2022, 12:01pm UTC](https://root-forum.cern.ch/t/tmva-kcuts-output-wrong/48573 "2022-01-26T12:01:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chipper](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/cdc98d/32.png) [@Chipper](https://root-forum.cern.ch/u/Chipper)\
**Post date:** [January 26, 2022, 12:01pm UTC](https://root-forum.cern.ch/t/tmva-kcuts-output-wrong/48573/1 "2022-01-26T12:01:05Z")

</div>

Hello everyone,

When I’m using kCuts to optimize nine variables cuts, there are some wrong output that one variable should be less than a certain value, and I set the upper limit to a small value (such as 0.0606) and down limit to -999, but TMVA output 10^30 for the variable. Which experts could tell me what the reason is? Thanks in advance.

Best regards,  
Qiuping

---

<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 26, 2022, 4:23pm UTC](https://root-forum.cern.ch/t/tmva-kcuts-output-wrong/48573/2 "2022-01-26T16:23:14Z")

</div>

Hi,

Can you please post your code and your input file, so we can investigate your problem  
Best,  
Lorenzo

---

<div class="post-metadata">

**Author:** ![Chipper](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/cdc98d/32.png) [@Chipper](https://root-forum.cern.ch/u/Chipper)\
**Post date:** [January 26, 2022, 5:17pm UTC](https://root-forum.cern.ch/t/tmva-kcuts-output-wrong/48573/3 "2022-01-26T17:17:44Z")

</div>

Hello moneta,

I used the TMVA package (kCuts: GA). For a certain variable (e.g Var),  
its **CutsRangeMin** :_CutsRangeMax_ are respectively set to **-999** :_0.0606_, but the output gave me **CutMin** = **-0.00407642** and _CutMax_=_10^{30}_. My question is why the max value is more than the CutsRangeMax I set? Thank you very much.

Best regards,  
Qiuping

---

<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 31, 2022, 12:35pm UTC](https://root-forum.cern.ch/t/tmva-kcuts-output-wrong/48573/4 "2022-01-31T12:35:19Z")

</div>

Please send me the files you use and I can understand this. These values are probably set because no sensible values for the cuts are found

Lorenzo
