Giter Club home page Giter Club logo

overlapping-community-detection's Introduction

Graph Data Mining

This project 2 is to implement the algorithm discussed in Paper 1, Efficient Identification of Overlapping Communities.

Environment to test the script

This project has been tested on CSC591_ADBI_v3 VCL environment.

Packages requirment

Please ensure the networkx to be installed beforehand, or run the following command to install:

pip3 install networkx

If the installtion failed from the command above, please download from website and following the instructioins on the website to install. https://pypi.org/project/networkx/#files

How to run the script

After download the zip, first unzip the zip file and get into the folder.

unzip GDM_Project2.zip
cd GDM_Project2

Once the path is under GDM_Project2, please run the command as follows.

python3 main.py <path/to/file/file>

For example, if we would like to run the amazon.graph.small, please run the command as following:

python3 main.py ./datasets/amazon/amazon.graph.small 

After the program complete, the final communiites will be store in result/output.txt, the program should run 3 mins to 10 mins depending on the graph size.

Note that output.txt will be overwrited if re-run the prorgam. The output file will be in the format as below:

0 1
2 3 6 7 119 119
35 366 988 23 98 112 

Each line present the nodes with same community and, for example, the second community contains 6 nodes.

Project Member:

  1. Wen-Han Hu (whu24)
  2. Yang-Kai Chou (ychou3)
  3. Yuan Xu (yxu48)

overlapping-community-detection's People

Contributors

justin830827 avatar xyddd avatar ykc0609 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

overlapping-community-detection's Issues

HoneyPot dataset

Hi
i want to use HoneyPot dataset with your project
can you help me and tell me how can i convert my txt file to something like amazon.graph.small ?

thanks

dataset error

hi, I couldn't run my Dataset even if I change the extension of a file .
actually my dataset is of the format [source ,target] and i changed it with the said format as : [no-of-nodes ,no-of-edges] and renamed it with .small extension.
Can you please help me in solving this error or show me clearly what I need to do .
thankyou

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.