Coder Social home page Coder Social logo

Comments (2)

vtraag avatar vtraag commented on July 17, 2024

Sorry about the very long delay. The easiest might be to simply supply the initial_membership argument in find_partition. More generally, you can always first create a new partition and then improve it further, see the docs for more details on that.

The alternative that you suggested is also a good one to see how stable the communities are with respect to the additional / removed edge. However, note that you will not necessarily keep the membership of the original graph fixed.

one major problem is the different partitions I get every time I run the algorithm even when I give the same seed.

This should not happen. If you use the same random seed, it should always return the same result. Could you provide a small reproducible example that shows that you get different results, even when using the same seed?

from leidenalg.

vtraag avatar vtraag commented on July 17, 2024

I'm closing this for now. If you do still have an issue @gebaltso, feel free to re-open this issue (or open a new issue if it is a new problem of course).

from leidenalg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.