Artificial Intelligence, Machine Learning, Data Science, Algorithms, Mathematics.
Impurity_left_subtree_Nodeₖ- %_of_sample_reaching_right_subtree_NodeₖX Impurity_right_subtree_Nodeₖ) / 100 Let’s calculate the importance of each node (going left →right, top →bottom) 1st Node: value=[1000,1000] =(100 x 0.5 — 52.35 x 0.086 —47.65 x 0) / 100 =(50–4.5)/100 = 0.455 How did we get 100,