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

Add iteration stop criteria #42

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

Conversation

mvfki
Copy link

@mvfki mvfki commented Aug 14, 2023

The current wrapper ignores the return value of the optimizer and runs as many iterations as users specify. The iteration should stop when no more optimization can be made. SImilar criteria are also seen in other leiden/louvain wrapper packages such as leidenAlg, Seurat and the original leidenalg.

@mvfki
Copy link
Author

mvfki commented Aug 14, 2023

Sorry for not saying this in the first place. I appreciate it a lot for building such a comprehensive wrapper of the whole Leiden library, especially for allowing all possible objective functions and offering access to values like modularity and quality, which are really valuable.
Please correct me if I indeed misunderstood the algorithm.

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.

1 participant