Coder Social home page Coder Social logo

Comments (2)

LibraChris avatar LibraChris commented on July 18, 2024 1

Thank you very much for pointing this out, I updated this error message earlier today and will publish the updated NuGet package later today.
In case you want to use Louvain on the presented graph, I have 2 details to point out to you:

  1. For the usage of the Louvain method the FGL.ArrayAdjacencyGraph module is needed, so you would have to use that instead of the standard FGL Graph model. Additionally, while you can use the ArrayAdjacencyGraph Model to get directed Graph info, it is generally an undirected graph model optimized for the Louvain algorithm.
  2. The Louvain method is optimized for undirected Graphs since the definition of modularity for directed graphs is debatable. You can treat a directed graph as undirected to perform Louvain, but the original Louvain Algorithm is specific for undirected graphs.

There exist some suggestions on how to treat modularity and therefore Louvain in directed graphs and I am working on upgrading the FGL library to include such a directed Modularity approach in the future, but as of now a specific implementation of a directed Louvain approach for community detection is not implemented in Fsharp.FGL.

from fsharp.fgl.

HarryMcCarney avatar HarryMcCarney commented on July 18, 2024

This is actually caused by trying to create duplicate edges. Id suggest updating the error message to say this.

from fsharp.fgl.

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.