Skip to content
New issue

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

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

Already on GitHub? # to your account

can you clarify how you remove correlated features #47

Open
Sandy4321 opened this issue Jan 4, 2021 · 3 comments
Open

can you clarify how you remove correlated features #47

Sandy4321 opened this issue Jan 4, 2021 · 3 comments

Comments

@Sandy4321
Copy link

can you clarify how you remove correlated features

as written in
https://towardsdatascience.com/a-feature-selection-tool-for-machine-learning-in-python-b64dd23710f0

For each pair of correlated features, it identifies one of the features for removal (since we only need to remove one

so you just remove one from pair ?

@ayush714
Copy link

ayush714 commented Apr 9, 2021

Most variables are correlated with each other and thus they are highly redundant, let's say if you have two variables that are highly correlated, keeping the only one will help in dimensionality reduction and it doesn't cause that much loss of information.

One Question may arise you, Which Variable to keep?
Keep the one that has a higher correlation with the target variable.

@Sandy4321
Copy link
Author

I see
but
Collinear Features
how you calculated collinearity for categorical values ?

@rajlm10
Copy link

rajlm10 commented May 20, 2021

Hi Sandy4321, I found a brilliant article that will help with your question : https://towardsdatascience.com/the-search-for-categorical-correlation-a1cf7f1888c9

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants