Coder Social home page Coder Social logo

suikai / communitydetection-project2gdm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kritishrivastava/communitydetection-project2gdm

0.0 0.0 0.0 10.62 MB

Overlapping Community Detection implementation for Graph Data Mining course work

Python 100.00%

communitydetection-project2gdm's Introduction

Project 2: Overlapping Community Detection

Project members:

  1. Manjusha Trilochan Awasthi (mawasth)
  2. Kriti Shrivastava (kshriva)
  3. Rachit Thirani (rthiran)

This is an implementation for the algorithm from the paper 1: Efficient Identification of Overlapping Communities?

Python version used: Python 3.6.0

OS used: Windows 10 64bit (RAM:16GB)

Python libraries needed:

  1. Networkx: install using the command "pip install networkx" or follow the instructions mentioned here https://networkx.github.io/documentation/development/install.html
  2. Numpy: install using the command "pip install numpy" or follow the intructions mentioned here https://docs.scipy.org/doc/numpy/user/install.html

Instructions to run the program:

  1. Go the the directory containing the python script.
  2. Give the command "python main.py filename" where filename is the name of the graph you want to find the communities for. ex. python main.py amazon.graph.medium

For the above input graph "amazon.graph.medium", the outfile file is "amazon.graph.medium.clusters.txt".

The output file contains the list of communities identified for the graph given as input. Every line represents one community and it contains the list of nodes in that community.

ex.

1917 1918 1919 1920 4906 4980

2099 2100 2101 2102 2104 2105 2789 3997

This output contains 2 communities. The first community contains 6 nodes and the second community contains 8 nodes.

Datasets tested:

  1. amazon.medium.graph
  2. youtube.medium.graph
  3. dblp.medium.graph

communitydetection-project2gdm's People

Contributors

kritishrivastava avatar

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.