Skip to content

echalmers/hippocluster

Repository files navigation

hippocluster

Hippocluster: an efficient, brain-inspired adaptation of K-means for graph clustering.

The corresponding research paper by Chalmers et al is here

installation

install using pip: pip install git+https://github.com/echalmers/hippocluster.git

use

see demo.py for basic usage examples

and see demo.py for a visual illustration of Hippocluster working.

creating graph objects for use with Hippocluster

Hippocluster's fit and update methods accept a RandomWalkGraph object. There are two ways to make one of these from a NetworkX graph object. The first is to extend RandomWalkGraph, implementing communities and n_communities. Or if the graph has no ground truth communities, you can directly instantiate a RandomWalkGraph object with a NetworkX graph. For example: myGraph = RandomWalkGraph(nx.grid_2d_graph(20, 20))

sample graph clustering

About

Hippocluster: an efficient, brain-inspired adaptation of K-means for graph clustering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages