Sir, What does setting the target at every node mean (mentioned in the last part of the code)
Setting the target at every node mean
hey @naman_kr_301 ,
while creating whole tree , when split our tree node to create another tree in left and right , going the same way , there will be a time when we will reach a leaf node at that moment what do we want to do is , we need to set a target value at that node so that at the time of inference our model , while checking all the conditions is able to directly let us know the final class output directly from that node.
so at the end or at every leaf node , we check the mean value of our target and set it accordingly as stated in the video.
I hope this helps .
Thank You .
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.