Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Decision Trees - nodes info

Hi guys,

I was wondering how to get the info about the divisions nodes in decision trees? After training the classifier (CvDTree::train) the .xml file can be saved. It contains the trained model, but I can't understand it. I'd like to use that info to make a drawing (by hand), that would show the condition used for every branch split.

My case is: 8 features, 13 classes, 100 samples per class, OpenCV 2.4.8, C++. And here is the .xml:

https://www.dropbox.com/s/3s4xl506rgbwpjo/DTrees.xml?dl=0

Decision Trees - nodes info

Hi guys,

I was wondering how to get the info about the divisions division nodes in decision trees? After training the classifier (CvDTree::train) the .xml file can be saved. It contains the trained model, but I can't understand it. I'd like it. Maybe someone cold help me. Or maybe there is another way to use get that info to make a drawing (by hand), that would show the condition used for every branch split.node info?

My case is: 8 features, 13 classes, 100 samples per class, OpenCV 2.4.8, C++. And here is the .xml:

https://www.dropbox.com/s/3s4xl506rgbwpjo/DTrees.xml?dl=0

Decision Trees - nodes info

Hi guys,

I was wondering how to get the info about the division nodes in decision trees? After training the classifier (CvDTree::train) the .xml file can be saved. It contains the trained model, but I can't understand it. Maybe someone cold help could explain it to me. Or maybe there is another way to get that node info?

My case is: 8 features, 13 classes, 100 samples per class, OpenCV 2.4.8, C++. And here is the .xml:

https://www.dropbox.com/s/3s4xl506rgbwpjo/DTrees.xml?dl=0

Decision Trees - nodes info

Hi guys,

I was wondering how to get the info about the division nodes in decision trees? After training the classifier (CvDTree::train) the .xml file can be saved. It contains the trained model, but I can't understand it. Maybe someone could explain it to me. Or maybe there is another way to get that node info?

My case is: 8 features, 13 classes, 100 samples per class, OpenCV 2.4.8, C++. And here is the .xml:

https://www.dropbox.com/s/3s4xl506rgbwpjo/DTrees.xml?dl=0

Decision Trees - nodes info

Hi guys,

I was wondering how to get the info about the condition in every division nodes node in decision trees? trees classifier (CvDTree)? After training the classifier (CvDTree::train) the tree .xml file can be saved. It contains the trained model, but I can't understand interpret it. Maybe someone could explain it to me. Or maybe there is another way to get that node info?

My case is: 8 features, 13 classes, 100 samples per class, OpenCV 2.4.8, C++. And here is the .xml:

https://www.dropbox.com/s/3s4xl506rgbwpjo/DTrees.xml?dl=0