"TreeModel prediction confidence failure (when generated by Decision Tree)"
Hi,
Ive noticed something funny when 'm using a tree model generated by the DecisionTree operator. In addition to using the predicted class value, I'm using the actual underlying confidences. I'm applying a generated TreeModel to a test ExampleSet of about 100,000 examples. I've noticed that occasionally, a test example reaches a node in the tree model that is not a leaf yet has no matching edges for the example. According to the comments, I believe the intention is to simply classify the example according to the majority class represented by the node. However, only leaf nodes maintain an accurate Map Counter even though the method expects all nodes to have this. Currently, by default, the TreeModel classifies the example as "0" and returns nothing "?" for the confidence of each possible classification. I'm assuming that this is a very well known issue OR my mistaken interpretation of the code.
If it's a real issue, I'm happy to submit an updated TreeModel which can recursively generate an accurate Map Counter (if one does not already exist) in these types of cases. Can someone comment to let me know if I'm missing something? Thanks!! I love this product.
~Michael