Skip to content
Python class for Bayesian analysis of mixing patterns in networks.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example_data
LICENSE
README.md
example.py
individual_mixing.py

README.md

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.

You can’t perform that action at this time.