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

fix(analytical): Fix Louvain algorithm's stop condition #4387

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

songqing
Copy link
Contributor

What do these changes do?

When using Louvain algorithm, I found a question with its stop condition, the Louvain algotithm's quality may be 0, 0.85, 0.80, I want to stop the iterations at 0.80 as the quality has started to decrease, but the current stop condition can't do that.
Besides, the change is consistent with NetworkX's implementation

Related issue number

Fixes

Copy link
Contributor

github-actions bot commented Dec 25, 2024

Please check the preview of the documentation changes at
https://cea462af.graphscope-docs-preview.pages.dev

@codecov-commenter
Copy link

codecov-commenter commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@f8250fb). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4387   +/-   ##
=======================================
  Coverage        ?   57.42%           
=======================================
  Files           ?      126           
  Lines           ?    13280           
  Branches        ?        0           
=======================================
  Hits            ?     7626           
  Misses          ?     5654           
  Partials        ?        0           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f8250fb...e3db420. Read the comment docs.

@zhanglei1949
Copy link
Collaborator

@songqing Could you please merge main to fix the CI issue?

@songqing
Copy link
Contributor Author

songqing commented Jan 9, 2025

@songqing Could you please merge main to fix the CI issue?

done

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

Successfully merging this pull request may close these issues.

3 participants