I would like to take a regression-tree generated in orange and parse it into a macro for another software-package. I won't go into the details about why I'm not linking the software directly.

I am unable to extract all the values that appear in orangTree.printTxt. Here is the first node of my tree.In [61]: orngTree.printTxt(rt, leafStr="%V %I")sum_fetch<=6651.378: 4.893 [4.019-5.767]sum_fetch>6651.378

I can get the branching criterion fromIn [64]: print rt.tree.branchDescriptions<<=6651.378, >6651.378>

In [65]: print rt.tree.branchSelector.classVar.namesum_fetch

However, within the tree, I haven't been able to find the value associated with the first branch (in my case, 4.893).

Can anybody point me towards the objective-value for a node? General advice about parsing a model would also be appreciated.