Skip to content

Python class for Bayesian analysis of mixing patterns in networks.

License

Notifications You must be signed in to change notification settings

gcant/individual_mixing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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