1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. HR Analytics: Predicting Employee Churn in Python

Connected

अभ्यास

Splitting the tree

Given the Gini index that would result from splitting by either variable A or B, respectively, decide by which variable the tree should split next.

निर्देश

100 XP
  • Check which Gini is lower.
  • If A has lower Gini, split by A, else, split by B.