Skip to content
/ cga Public

Python implementation of Community-based Graph Algorithm for finding top-K nodes with most influences in a graph

License

Notifications You must be signed in to change notification settings

skepsun/cga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cga

Python implementation of Community-based Graph Algorithm for finding top-K nodes with most influences in a graph

Python = 3.5 with numpy, pandas, networkx, pathos and tqdm.

Input data:

  1. one whole graph or multiple subgraphs(based on community) in format of: an edge list with source, target, weight (separated by space)
  2. community list in format of: a text file where each line is a list of nodes for a community.

Output:

  1. a txt file with first line of top K nodes and second line of influence degree.

About

Python implementation of Community-based Graph Algorithm for finding top-K nodes with most influences in a graph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages