Giter Club home page Giter Club logo

louvain-method's Introduction

Louvain method

This is a project I developed during my research internship at École Centrale de Marseille. It involves interpreting the Louvain Method and visualizing its results using Python. You have the flexibility to implement your own graph.

In my algorithm, I utilize the adjacency matrix to calculate modularity and employ two dictionaries to collect the classification results. Finally, I use matplotlib to visualize the outcomes.

To use this algorithm, please download all the required files. Enter your graph data into "data.txt" and run "main.py" directly. This will generate a visualization of your graph.

For the visualization aspect, you will need to install the networkx library.

Methode de Louvain

Ceci est un projet que j'ai développé lors de mon stage de recherche à l'École Centrale de Marseille. Il consiste à interpréter la méthode Louvain et à visualiser ses résultats en utilisant Python. Vous avez la possibilité d'implémenter votre propre graphe.

Dans mon algorithme, j'utilise la matrice d'adjacence pour calculer la modularité, j'utilise deux dictionnaires pour collecter les résultats de classification et j'utilise finalement matplotlib pour visualiser les résultats.

Pour utiliser cet algorithme, veuillez télécharger tous les fichiers nécessaires. Entrez les données de votre graphe dans "data.txt" et exécutez directement "main.py". Cela générera une visualisation de votre graphe.

louvain-method's People

Contributors

owxiaom avatar

Watchers

 avatar

louvain-method's Issues

what is your idea?

Hello.
What is your idea for improve Louvain algorithm?
Could you please share with me?

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.