-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add clustering coefficient definitions #316
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #316 +/- ##
==========================================
+ Coverage 90.25% 90.29% +0.04%
==========================================
Files 35 36 +1
Lines 2811 2926 +115
==========================================
+ Hits 2537 2642 +105
- Misses 274 284 +10
... and 3 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Before I un-draft this PR, I wanted to know what good names for the functions were so that I can also add them to the nodestats module. Any suggestions, @leotrs? I was thinking maybe we could remove "coefficient" from the names. |
Incredible work Nich, thanks so much. We needed these different clustering coefficients. Two comments:
|
Co-authored-by: Maxime Lucas <maximelucas@users.noreply.github.com>
@nwlandry Thanks for your work here. I agree I'd remove |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Thanks :) I added a brief description in the docstrings. Some of the formulas are a bit long so I just described them. |
After chatting with Max, I decided to keep "coefficient" in the name for maximum clarity, but if we feel it's too clunky down the road, we can remove it. |
I think it should be ready for review! |
I did a few things - I changed all tests about nan to use |
No experience or strong opinion but if 0 seems used more let's go with that I guess |
No strong opinion either so I'll let someone else decide this one 😉 |
Sounds good! I'll add a note about this as well :) |
Just to leave good documentation on what I did:
|
No description provided.