Skip to content

colingo1/triangle-counting

Repository files navigation

Language and Environment

Language:

  • Python >3.5

Tools and Packages:

To run the experiments

  • Use linear_py.py's main function

  • Load the appropriate dataset, select p values and algorithms to run experiments on

  • Visualizations can be made using parse_results.py

Presentation link

Implemented Algorithms

  1. node/edge iterator

  2. "Counting Triangles in Large Graphs using Randomized Matrix Trace Estimation"

  3. "A space efficient streaming algorithm for estimating transitivity and triangle counts using the birthday paradox"

  4. "Spectral Counting of Triangles via Element-Wise Sparsification and Triangle-Based Link Recommendation"

Papers

This section lists the papers we used for the implementation of this project:

DOULION

wedge sampling

Trace Estimation

Eigenvalue

Birthday Paradox

  • https://arxiv.org/pdf/1212.2264.pdf "A space efficient streaming algorithm for estimating transitivity and triangle counts using the birthday paradox"
  • http://chbrown.github.io/kdd-2013-usb/kdd/p589.pdf basically the same paper, but the algorithms are written out slightly differently (most notably, first paper made it seem like every edge could be added to edge_res many times, but this paper makes it clear that it is only added once).

Datasets:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •