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 Combinations #3

Open
sushantnair opened this issue Mar 28, 2024 · 0 comments
Open

GINI Index Combinations #3

sushantnair opened this issue Mar 28, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@sushantnair
Copy link
Owner

In the lines 177-202 of the code, the valid combinations of different values of a column are generated. For example, the column Income has three values - High, Mid and Low. So the following are the valid combinations:

(high, mid), low
(high, low), mid
(mid, low), high
Out of these combinations, the one which has the lowest calculated value of GINI Index is chosen as the correct partition.
The problem with the code is again a localization issue - it works for columns with exactly three variables. It cannot generate all possible valid combinations for columns with four or more variable. So I raise this issue to welcome your contribution to fix this bug. Thank you for helping make the code versatile and relevant for any and all dataset!

@sushantnair sushantnair added bug Something isn't working good first issue Good for newcomers labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant