First Integer Neighbor Clustering Hierarchy (FINCH) Algorithm
FINCH is a parameter-free fast and scalable clustering algorithm. it stands out for its speed and clustering quality. The algorithm is described in our paper Efficient Parameter-free Clustering Using First Neighbor Relations published in CVPR 2019 . Read Paper.
Installation
The project is available in PyPI. To install run:
pip install finch-clust
Optional. Install PyNNDescent to get first neighbours for large data
To install finch with pynndescent run:
pip install "finch-clust[ann]"
Usage:
typically you would run:
from finch import FINCH
c, num_clust, req_c = FINCH(data)
You can set options e.g., required number of cluster or distance etc,
c, num_clust, req_c = FINCH(data, initial_rank=None, req_clust=None, distance='cosine', verbose=True)
For more details on meaning of input arguments check README in finch directory.
Matlab usage
A minimal correponding Matlab implementation is provided in the matlab directory.
Demos
The following demo notebooks are available to see the usage in clustering a dataset.
Relevant tools built on FINCH
-
h-nne: See also our h-nne method which uses FINCH for fast dimenionality reduction and visualization applications.
-
TW-FINCH: Also see our TW-FINCH variant which is useful for video segmentation.
Citation
@inproceedings{finch,
author = {M. Saquib Sarfraz and Vivek Sharma and Rainer Stiefelhagen},
title = {Efficient Parameter-free Clustering Using First Neighbor Relations},
booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
pages = {8934--8943}
year = {2019}
}
Metadata
Release files for finch-clust 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| finch_clust-0.2.3.tar.gz | 12.1 kB | Without provenance | Details for finch_clust-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| finch_clust-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for finch_clust-0.2.3-py3-none-any.whl |
Total release size: 23.5 kB
Release files / finch_clust-0.2.3.tar.gz
| Download URL | finch_clust-0.2.3.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df541c3277504c516ef598796f8ab5082c0af56c03b7bd33ed2e2e02533c4d68
|
|
BLAKE2b-256 checksum How to use checksums |
7b00a1371b9ff6857905ffbebcb146de7da70a2aec409b35e359d64b5cbcb0d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.16
|
Release files / finch_clust-0.2.3-py3-none-any.whl
| Download URL | finch_clust-0.2.3-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
153ff749c9bc53cbdb4a7d174db8dbc95c082a0d5014bb0650f99b4cdb0639bc
|
|
BLAKE2b-256 checksum How to use checksums |
975aecfbc03cc11ce5cac8b4a1396af30aaf9540a899e539be260ece5bcb7afe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.16
|
Security for finch-clust 0.2.3
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.