Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Individual mixing patterns in networks

Python class for Bayesian analysis of mixing patterns in networks.

This code implements the methods described in:
Mixing patterns and individual differences in networks [arXiv]
George T. Cantwell and M. E. J. Newman
Phys. Rev. E 99, 042306

The basic usage would be

import individual_mixing

DM = individual_mixing.DirichletModel(k,g)
DM.fit()

where k is the edge matrix and g is the group vector, as described in the original paper. See example.py for an example.

About

Python class for Bayesian analysis of mixing patterns in networks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages