Giter Site home page Giter Site logo

networkdiscovery.jl's Introduction

NetworkDiscovery.jl

Smart Social Network Discovery using the POMDP framework.

A report describing this project is located in doc/report.pdf.

The ipython notebooks in notebooks contain basic usage examples.

This code was designed to be used with the POMDPs.jl framework. Unfortunately changes to this framework will probably make this code incompatible, so it will have to be updated to be used in the future. If you would like to resurrect this code and start using it, please contact me at zsunberg(at)stanford.edu.

The MCTS solver used for this is implemented in POMCP.jl.

Installation

julia> Pkg.clone("https://github.com/sisl/NetworkDiscovery.jl")

Important elements of the code

NetworkDiscovery.jl includes the most important structures.

  • CommunityNetwork represents a social network with each vertex affiliated with a community, a CommunityNetwork object functions as the state of the POMDP.

  • CommunityAffiliationPOMDP describes an entire problem, with the probing budget, statistical information for generating the network, etc.

  • ProbeNode and GuessAffiliation are the types that represent actions. The Neighborhood type represents the observation.

heuristic_belief.jl includes a data structure to hold the portion of the graph revealed by probing

  • RevealedGraph holds all the edges and nodes revealed by probing. This structure is used by both the heuristic policy and the MCTS policy.

heuristics.jl contains the heuristic policy

  • DiscoveryHeuristic simply holds a probing policy and an affiliation-guessing policy. On steps 1 through T (see the report), it uses the probing policy to decide which vertex to probe; on step T+1, it uses the guess policy to guess the target node affiliation.

  • ProbeHighestDegree probes the node with the highest revealed degree (see report)

  • GuessBasedOnNeighbors guesses the target node affiliation as described in the report.

problems.jl includes code to generate social networks and POMDP problems

pomdp.jl includes a function to let the MCTS planner know what actions are available at what times

visualization.jl includes code to automatically create svg images of the networks in ipython notebooks

networkdiscovery.jl's People

Contributors

zsunberg avatar

Watchers

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

Forkers

nogtini

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.