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

Correlation Graphs #123

Closed
BradKML opened this issue Dec 10, 2021 · 2 comments
Closed

Correlation Graphs #123

BradKML opened this issue Dec 10, 2021 · 2 comments
Labels
wontfix This will not be worked on

Comments

@BradKML
Copy link

BradKML commented Dec 10, 2021

R has default libraries for Correlation Networks

It is rather hard to see how strong the ties should be for Python, especially if the ties are negatively correlated.

@BradKML
Copy link
Author

BradKML commented Dec 10, 2021

https://towardsdatascience.com/eveything-you-need-to-know-about-interpreting-correlations-2c485841c0b8

On this page, anything under 0.3 makes negligible correlation, and anything over 0.9 is clearly correlated, with 0.6 being the middle of correlation significance. Possibly, for scaling purposes (where 0 correlation leads to 0 weight, and 0.6 correlation leads to 1, 1 correlated to b^0.583):

from numpy import tanh, exp
def scale(x):
    return exp(tanh((x-0.6)/0.6))

@jhunpingco
Copy link
Contributor

I'm going to mark this as out of scope for Pyvis. Closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants