Skip to main content

info-clustering

Travis PyPI

Usage

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
ic.fit(g)
ic.print_hierarchical_tree()

The output is like

      /-0
   /-|
--|   \-2
  |
   \-1

Release files for info-cluster 0.9.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for info-cluster 0.9.post1
File Size Uploaded
info_cluster-0.9.post1.tar.gz 3.9 kB Details

Release files / info_cluster-0.9.post1.tar.gz

Download URL info_cluster-0.9.post1.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6459d3a163f62304439d6bad5d3051291a91f2f9dc5edd79291bac23f153b3aa
BLAKE2b-256 checksum
How to use checksums
be253724ae8b447d98f5eb4f1e9f97bc49b72e06c97b7402ab8d8068b8afc272
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.9.post1 This release

1 release file

0.9

1 release file

0.8

1 release file

0.7

2 release files

0.6

5 release files

0.5

6 release files

0.4

4 release files

0.3

3 release files

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page