# Trivial roc curves from tmva?

**URL:** <https://root-forum.cern.ch/t/trivial-roc-curves-from-tmva/11457>\
**Category:** TMVA\
**Created:** [November 29, 2010, 7:13pm UTC](https://root-forum.cern.ch/t/trivial-roc-curves-from-tmva/11457 "2010-11-29T19:13:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjanko](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/ee7513/32.png) [@mjanko](https://root-forum.cern.ch/u/mjanko)\
**Post date:** [November 29, 2010, 7:13pm UTC](https://root-forum.cern.ch/t/trivial-roc-curves-from-tmva/11457/1 "2010-11-29T19:13:27Z")

</div>

hello,

i’m using tmva 4.0.7 to do rectangular cut optimization as  
in root/tmva/test/TMVAClassification.C. i’m experiencing  
some strange behavior with some subset of the training sets  
i’m using, and this behavior is reproducible. although the  
background and signal efficiencies as well as the cuts generated  
from the training set (and reported in the output) are sensible,  
the final roc curve generated from the test sample is trivial, i.e.  
B=S everywhere. this only occurs for some of the data sets i’m  
using, and i wonder what’s going on and how i might be able to fix it.

thanks,  
martin

factory-\>BookMethod(TMVA::Types::kCuts, “Cuts”,  
"!H:!V:FitMethod=MC:EffSel:Seed=0:VarProp=NotEnforced:SampleSize=20000000:  
CutRangeMin[0]=1.1:CutRangeMax[0]=700.0:CutRangeMin[1]=-0.1:CutRangeMax[1]=0.90");
