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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ncut_pytorch-1.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 93cf03940abdb9a0bd0bafb3c6dac8d34f56c10a030f893e0a46e736aefb7650
MD5 62df97e630fb6eb87076d7b684320d02
BLAKE2b-256 8f9190e2f1cb5b3521f914861a67d005ab67942b13fd6ca1b039a554f2dbb6ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ncut_pytorch-1.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b658b5a9013ccfa681c08e136cda2366cb4cefa7dae8948509cce910a1cfbd22
MD5 ab9c863de1353ae1abd75f152d277876
BLAKE2b-256 eb4302cab5505ee0533b6a0c5551df7c05541db850cac06482c5460c864de292

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