Skip to main content

a hierachical clustering algorithm based on information theory

Project description




pip install info-cluster

After installing info-cluster package, you can use it as follows:

from info_cluster import InfoCluster
import networkx as nx
g = nx.Graph() # undirected graph
g.add_edge(0, 1, weight=1)
g.add_edge(1, 2, weight=1)
g.add_edge(0, 2, weight=5)
ic = InfoCluster(affinity='precomputed') # use precomputed graph structure

The output is like

--|   \-2

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for info-cluster, version 0.9
Filename, size File type Python version Upload date Hashes
Filename, size info_cluster-0.9.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page