BDT performance vs number of trees

Hello,

I want to plot the BDT performance vs #Trees just like mentioned in slide 60 in [1]. The plot looks like they are generated through TMVA but I’m not able to figure out how one can do that. TMVAGui shows no such option, so therefore asked here. Thanks in advance!

[1] https://indico.cern.ch/event/297180/contributions/1655947/attachments/557729/768436/LHCbMVA.pdf

I guess @moneta might know.

Hi,
I don’t know exactly as this plot is done, but the simplest thing is that you perform a scan of the hyper-parameter #Trees.
TMVA has a way to scan the parameter value, using MethodBase::OptimizeTuningParameters. If you need I can try to provide you an example,

Lorenzo

Hello @moneta,

an example would be very helpful, thanks!