Skip to main content

No project description provided

Project description

Documentation https://ncut-pytorch.readthedocs.io/

NCUT: Nyström Normalized Cut

Normalized Cut, aka. spectral clustering, is a graphical method to analyze data grouping in the affinity eigenvector space. It has been widely used for unsupervised segmentation in the 2000s.

Nyström Normalized Cut, is a new approximation algorithm developed for large-scale graph cuts, a large-graph of million nodes can be processed in under 10s (cpu) or 2s (gpu).

Gallery

TODO

Installation

PyPI install, our package is based on PyTorch, presuming you already have PyTorch installed

pip install ncut-pytorch

Install PyTorch if you haven't

pip install torch

Why NCUT

Normalized cut offers two advantages:

  1. soft-cluster assignments as eigenvectors

  2. hierarchical clustering by varying the number of eigenvectors

Please see NCUT and t-SNE/UMAP for a full comparison.

paper in prep, Yang 2024

AlignedCut: Visual Concepts Discovery on Brain-Guided Universal Feature Space, Huzheng Yang, James Gee*, Jianbo Shi*, 2024

Normalized Cuts and Image Segmentation, Jianbo Shi and Jitendra Malik, 2000

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

ncut_pytorch-1.0.4.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

ncut_pytorch-1.0.4-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file ncut_pytorch-1.0.4.tar.gz.

File metadata

  • Download URL: ncut_pytorch-1.0.4.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.16

File hashes

Hashes for ncut_pytorch-1.0.4.tar.gz
Algorithm Hash digest
SHA256 d0a0698aa46b99fb1b197abdc87b85bb2f18c4ab7ec3db2fcc9098618f1ba7cf
MD5 34094af346a5ae00c602d1afb15fa308
BLAKE2b-256 19fdf74024c4a17fad7605efc15d14735f3516c657f483cea7951abf68daec6a

See more details on using hashes here.

File details

Details for the file ncut_pytorch-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for ncut_pytorch-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2f48882b265a822efec447c39721beb444b0618536a8fd8fa1abd4c975c2e43c
MD5 267634ee0e6e11482d96547134b83ae4
BLAKE2b-256 385804c5a05a10b411371f608859804821b4c8ca364ef6daa6e2fa0611a79a19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page