GithubHelp home page GithubHelp logo

yishilin14 / boostinginformationspread Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 3.97 MB

BoostingInformationSpread - Source codes of BoostingInformationSpread (ICDE'17)

Makefile 1.39% Shell 0.23% C++ 18.32% C 15.07% HTML 61.86% CSS 3.14%

boostinginformationspread's Introduction

Boosting Information Spread

Implementations of Boosting information spread: An algorithmic approach. For more details about PRR-Boost and PRR-Boost, please refer to our paper:

Yishi Lin, Wei Chen, John C.S. Lui. Boosting information spread: An algorithmic approach. (ICDE'17)

Compile

Use the `make' command to compile everything.

How to use

  • Please refer to run.sh for examples (e.g., parameters, output log files).

Input format of graphs

  • An example: 'datasets/digg_learn/graph_ic_nm.inf'
  • The first line contains the number of nodes n and the number of edges m. Each of the remaining m lines contains three values u, v and p meaning that the influence probability from u to v is p (Independent Cascade model).

Input format of seeds

  • An example: 'datasets/digg_learn/seeds50.txt'
  • Each line contains a seed node.

Output format of log files

PRR-Boost

The first log file of ./bin/prrboost contains the following information.

  • Columns 1-7: dataset, # nodes, # edges, # seeds, beta, k, epsilon
  • Columns 13-15: the average number of edges, uncompressed nodes and uncompressed edges of boostable PRR-graphs
  • Columns 24-27: running time, memory usage, boost of influence spread, initial memory usage before generating PRR-graphs

The second log file of ./bin/prrboost contains information about parameters (first seven columns) and the name of a file containing data used to plot Figures such as Figure 6 and Figure 8 in the paper (lower bound, boosted influence, and their ratios).

PRR-Boost-LB

Log file of ./bin/prrboost_lb:

  • Columns 1-7: dataset, # nodes, # edges, # seeds, beta, k, epsilon
  • Columns 24-27: running time, memory usage, boost of influence spread, initial memory usage before generating PRR-graphs

Heirustic methods

Log file of ./bin/heu:

  • Columns 1-4: dataset, # seeds, beta, k
  • Columns 5-13: HighDegreeGlobalOut, HighDegreeLocalOut, HighDegreeGlobalOutDiscount, HighDegreeLocalOutDiscount, HighDegreeGlobalIn, HighDegreeLocalIn, HighDegreeGlobalInDiscount, HighDegreeLocalInDiscount, PageRank

Log file of ./bin/moreseeds:

  • Columns 1-7: dataset, # nodes, # edges, # seeds, beta, k, epsilon
  • Columns 11-13: boost of influence spread, running time, memory usage

boostinginformationspread's People

Contributors

yishilin14 avatar

Stargazers

Yankui Li avatar

Watchers

James Cloos avatar  avatar

Forkers

lyk248289469

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.