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

Metadata

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 Provenance Actions
info_cluster-0.9.post1.tar.gz 3.9 kB Without provenance Details for info_cluster-0.9.post1.tar.gz

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

Security for info-cluster 0.9.post1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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