The CART (or RPART) algorithm uses gini index to find a threshold value for a variable in each split. But how does it choose which variable will it use for splitting ?
1 Answer
$\begingroup$
$\endgroup$
It tries all of them and the one with the lowest gini is used.