habedi / Snowball-Sampling

Snowball Sampling in NetworX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snowball-Sampling

A simple Python2 module that implements Snowballsampling with NetworkX

To use it just import these three functions

    import randomseed from snowballsampling # select a node randomly from a netxork x and return its id
    import snowballsampling from snowballsampling # start the sampling
    import surroundings from snowballsampling # get neighbouring nodes of a particular node

About

Snowball Sampling in NetworX


Languages

Language:Python 100.0%