Giter Club home page Giter Club logo

Comments (4)

vtraag avatar vtraag commented on June 19, 2024 1

Thanks for reporting it! I thought it was already changed previously to work similarly to the leidenalg package. That is, the seed should be set on the Optimiser object (or in find_partition). It seems that this was not properly finished, I'll have a look at it shortly.

from louvain-igraph.

vtraag avatar vtraag commented on June 19, 2024

@ivirshup, could you check if this solves your issue? You would have to change this line

https://github.com/theislab/scanpy/blob/127c8b2ce9aecee00d2b42118a1b343e1e51555b/scanpy/tools/_louvain.py#L144

dependent on the version of louvain, and for the new version you should pass it as a parameter to find_partition (or to the Optimiser object). I will make a new proper release 0.7.0, to indicate it is incompatible with version 0.6.x and yank version 0.6.2. You could then either test for the existence of louvain.set_rng_seed or test the version of the package.

from louvain-igraph.

ivirshup avatar ivirshup commented on June 19, 2024

That looks like it'll work.

I'm having trouble checking since I'm not sure how to install a development version of this library. I'm happy to take your word for it though, and checking when there's a new release.

from louvain-igraph.

vtraag avatar vtraag commented on June 19, 2024

OK, I will start preparing a release.

FWIW, you can download binary wheels for all platforms from the current CI build, see https://ci.appveyor.com/project/vtraag/louvain-igraph, under "artifacts" for each job. The macOS version is now rebuilding, for some reason that job was terminated.

from louvain-igraph.

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.