Git Product home page Git Product logo

tectonic's Introduction

Tectonic: Scalable Motif-Aware Community Detection

This repository contains some software used in Scalable Motif-Aware Graph Clustering. You can find the project web page here.

Authors

Usage

Our code takes as input a graph, and the ground-truth communities, check files com-amazon.ungraph.txt and com-amazon.top5000.cmty.txt to see the input format.

  1. Run from a terminal python relabel-graph.py com-amazon.ungraph.txt com-amazon.top5000.cmty.txt amazon.mace amazon.communities.
  2. Download and compile MACE.
  3. Run ./mace C -l 3 -u 3 amazon.mace amazon.triangles
  4. Run python mace-to-list.py amazon.mace amazon.edges
  5. For some stats, run python community-stats.py amazon.edges amazon.communities amazon.edges.stats and python community-stats.py amazon.triangles amazon.communities amazon.triangles.stats
  6. Compile the file triangle_clusters.cpp g++ -std=c++11 -o triangle_clusters triangle-clusters.cpp
  7. Run ./triangle_clusters amazon.triangles numbers_of_nodes (334858 for amazon) threshold_value > amazon_clusters.txt
  8. Quick heuristic evaluation python grade-clusters.py amazon.communities amazon_clusters.txt output.txt

tectonic's People

Contributors

tsourolampis avatar

Stargazers

Lê Ngọc Tường avatar  avatar Wen-Zhi Li avatar Zhenfei Luo avatar Jialin Wang avatar Kevin Ying avatar

Watchers

James Cloos avatar  avatar  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.