# TMVA: -1 cut definition

**URL:** <https://root-forum.cern.ch/t/tmva-1-cut-definition/21837>\
**Category:** TMVA\
**Created:** [September 8, 2016, 12:38pm UTC](https://root-forum.cern.ch/t/tmva-1-cut-definition/21837 "2016-09-08T12:38:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alchauvi](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/9d8465/32.png) [@alchauvi](https://root-forum.cern.ch/u/alchauvi)\
**Post date:** [September 8, 2016, 12:38pm UTC](https://root-forum.cern.ch/t/tmva-1-cut-definition/21837/1 "2016-09-08T12:38:33Z")

</div>

Hi everybody!

I am currently using TMVA for my analysis and would like to know what does this ncuts=-1 stands for when booking a method.  
In my case, I use boosted decision trees, I can easily get the meaning of a ncuts=N , but not the option -1 . I have been reviewing the TMVA manual, but could not find a proper definition.

Do you also know in which case, this option should be preferred?

Thanks for your help,  
Alex

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 9, 2016, 7:38am UTC](https://root-forum.cern.ch/t/tmva-1-cut-definition/21837/2 "2016-09-09T07:38:48Z")

</div>

> [@](#):
>
> would like to know what does this ncuts=-1 stands for when booking a method.

Can you be more precise ? which method are you talking about ?

---

<div class="post-metadata">

**Author:** ![alchauvi](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/a/9d8465/32.png) [@alchauvi](https://root-forum.cern.ch/u/alchauvi)\
**Post date:** [September 12, 2016, 5:40pm UTC](https://root-forum.cern.ch/t/tmva-1-cut-definition/21837/3 "2016-09-12T17:40:26Z")

</div>

For example with boosted decision trees:

```auto
                    factory->BookMethod( TMVA::Types::kBDT, "BDT","!H:!V:NTrees=850:MinNodeSize=2.5%:MaxDepth=10:BoostType=AdaBoost:AdaBoostBeta=0.5:UseBaggedBoost:BaggedSampleFraction=0.5:SeparationType=GiniIndex:nCuts=-1" );
```

here the last argument of the method.

Thanks
