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.6.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

ncut_pytorch-1.0.6-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ncut_pytorch-1.0.6.tar.gz
  • Upload date:
  • Size: 10.7 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.6.tar.gz
Algorithm Hash digest
SHA256 50719a8d17e0da4d5a56e08603cd3952a8d75ae944f0356992ac9384c57585a7
MD5 187abc167b0b4d593a6bfd36fa5a549c
BLAKE2b-256 c1a53544902f8a18a6cbdf62487f984c0d512c655bb3712c181a4ad7449ce3a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ncut_pytorch-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.16

File hashes

Hashes for ncut_pytorch-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 49d52974063291a85a21784468f70f644e66964b03778b47baa51057b77c401b
MD5 467278ad7b52c14d502bf0de7c42c54e
BLAKE2b-256 a9dbad7216576030e3794f900693364ad9ce30dea4ee3aa6338f962a791d7f7a

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