# Kolmogorov-Smirnov test values

**URL:** <https://root-forum.cern.ch/t/kolmogorov-smirnov-test-values/32868>\
**Category:** TMVA\
**Created:** [February 22, 2019, 5:50pm UTC](https://root-forum.cern.ch/t/kolmogorov-smirnov-test-values/32868 "2019-02-22T17:50:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kialbert](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kialbert/32/16537_2.png) [@kialbert](https://root-forum.cern.ch/u/kialbert)\
**Post date:** [February 22, 2019, 6:42pm UTC](https://root-forum.cern.ch/t/kolmogorov-smirnov-test-values/32868/4 "2019-02-22T18:42:34Z")

</div>

> [@Einsiedler](#):
>
> I would assume that one could solely rely on their eyes to see if overtraining is significant?

Yes, I think that in many cases this is what it boils down to.

> [@Einsiedler](#):
>
> However, how can I change the binning?

Unfortunately one has to either

1. do a retraining for this to take effect since a rederivation of the output histograms are beyond the current capabilities of the `TMVA::Gui`, or
2. manually evaluate the classifier using the `TMVA::Reader` constructing the histograms manually and finally running the KS test on this.

To change the binning for a retraining use `(TMVA::gConfig().GetVariablePlotting()).fNbinsMVAoutput = 300;`  
at the top of the training file.

Cheers,  
Kim

---

_[View the full topic](https://root-forum.cern.ch/t/kolmogorov-smirnov-test-values/32868)._
