Having built a decision tree, we are using reduced error pruning to reduce the size of the tree. We select a node to collapse. For this particular node, on the left branch, there are 3 training data points with the following outputs: 5, 7, 9.6 and for the right branch, there are four training data points with the following outputs: 8.7, 9.8, 10.5, 11. What were the original responses for data points along the two branches (left & right respectively) and what is the new response after collapsing the node?
Can u explain me the question?
Hey @chiragwxN, for original response along left tree = (5 + 7 + 9.6)/3 = 7.2
for original response along right tree = (8.7,+9.8+10.5 + 11)/4 = 10
After pruning all these points comes in a single node output = ( 5 + 7 + 9.6 + 8.7 + 9.8 + 10.5 + 11)/7 = 8.8
Hope this cleared your doubt.
Plz mark doubt as resolved in my doubts section 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.