BDT XML Weights Tags

Hi, I had a quick question about what I’m seeing in my XML weights file that gets produced when I make a bdt.
I’ve been operating under the assumption that the IVar attribute under a node tag will be the index of my input variable the bdt is cutting on (for instance, I have 2 variables, so I expect IVar to be either 0 or 1).
However, I am also seeing values of -1.
Clearly I’m misunderstanding what IVar is, and I couldn’t find the answer anywhere else online, so I would greatly appreciate some help.


This is only a quick response, I can have a more in depth look tomorrow. It could be that the -1 encodes that the node is a leaf (and thus should contain an output, not a cut).