# TMVA Regression Trees Leaf Node

**URL:** <https://root-forum.cern.ch/t/tmva-regression-trees-leaf-node/39980>\
**Category:** TMVA\
**Created:** [June 19, 2020, 5:16am UTC](https://root-forum.cern.ch/t/tmva-regression-trees-leaf-node/39980 "2020-06-19T05:16:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkD32](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/m/3da27b/32.png) [@MarkD32](https://root-forum.cern.ch/u/MarkD32)\
**Post date:** [June 19, 2020, 5:16am UTC](https://root-forum.cern.ch/t/tmva-regression-trees-leaf-node/39980/1 "2020-06-19T05:16:19Z")

</div>

[c1.pdf](https://root-forum.cern.ch/uploads/short-url/dJmDehliSL1oEAQIMDut7rCiYGd.pdf) (18.3 KB)

Hello experts,

I’ve attached the tree structure of a representative regression tree. Why are some of the final leaf nodes blue while others are white?  
The blue ones are marked with nType=“1” in the TMVARegression\_BDT.weights.xml file, while the white ones are marked with nType="-99" (all intermediate nodes are 0).  
Also of note, when using BDTG, they are all white.

Is there some difference between these final nodes?

---

<div class="post-metadata">

**Author:** ![StephanH](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/c68b51/32.png) [@StephanH](https://root-forum.cern.ch/u/StephanH)\
**Post date:** [June 19, 2020, 7:22am UTC](https://root-forum.cern.ch/t/tmva-regression-trees-leaf-node/39980/2 "2020-06-19T07:22:58Z")

</div>

Good question. I invite @moneta for this.
