Skip to content

movingpictures83/TriadCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TriadCounter

Language: Python

Input: CSV (signed, weighted network)

Output: Screen (statistics)

Tested with: PluMA 1.1, Python 3.6

Dependency: numpy==1.16.0

PluMA plugin to take a signed, weighted network and output the number of stable and unstable triads, a useful metric for social network research (Easley, 2010).

This plugin expects input in CSV format, where rows and columns each correspond to nodes and entries in the matrix to edges; for example A(i, j) would be the weight of the edge from node i to node j. A weight of zero means no edge.

Stable social networks have triads that are all stable, meaning that the number of positive edges is odd (either 3 or 1). This implies that in stable social networks, nodes with common friends or enemies should be also friends (not enemies).

About

PluMA plugin to take a signed and weighted network and output statistics on the number of triads, including stable and unstable counts (Easley et al, 2010)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages