Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gini index and information gain #42

Open
jeroenvanriel opened this issue Mar 13, 2022 · 0 comments
Open

Gini index and information gain #42

jeroenvanriel opened this issue Mar 13, 2022 · 0 comments

Comments

@jeroenvanriel
Copy link

  • I could not immediately find the idea behind the Gini impurity index on the internet. The following derivation helped me understand the intuition a little bit better:
    image
    The idea is that this captures "how often a randomly selected element is labeled incorrectly if the label is chosen randomly according to the actual distribution (in a leaf)".
  • The definition of information gain, it is unclear to me what X_i is exactly. I would have expected Gain(X, i) and |X| in the denominator of the fraction. Would that make sense? Furthermore, am I correct that this l=1 to L sum loops over what some call the levels of this feature?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant