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

do you have code for unbalanced data decision tree classification ? #3

Open
Sandy4321 opened this issue Jun 8, 2022 · 2 comments
Open

Comments

@Sandy4321
Copy link

do you have code for unbalanced data decision tree classification ?

@Eligijus112
Copy link
Owner

Hello,

No I do not. The logic would be to add the balance of Y in the calculation of the GINI, by adding a weight to each y_{i}.

@Sandy4321
Copy link
Author

great
just do it

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

2 participants