Skip to main content

Fast hierarchical clustering routines for R and Python.

Project description

This library provides Python functions for hierarchical clustering. It generates hierarchical clusters from distance matrices or from vector data.

Part of this module is intended to replace the functions

linkage, single, complete, average, weighted, centroid, median, ward

in the module scipy.cluster.hierarchy with the same functionality but much faster algorithms. Moreover, the function linkage_vector provides memory-efficient clustering for vector data.

The interface is very similar to MATLAB’s Statistics Toolbox API to make code easier to port from MATLAB to Python/NumPy. The core implementation of this library is in C++ for efficiency.

User manual: fastcluster.pdf.

Installation files for Windows are provided on PyPI and on Christoph Gohlke’s web page.

The fastcluster package is considered stable and will undergo few changes from now on. If some years from now there have not been any updates, this does not necessarily mean that the package is unmaintained but maybe it just was not necessary to correct anything. Of course, please still report potential bugs and incompatibilities to daniel@danifold.net. You may also use my GitHub repository for bug reports, pull requests etc.

Note that PyPI and my GitHub repository host the source code for the Python interface only. The archive with both the R and the Python interface is available on CRAN and the GitHub repository “cran/fastcluster”. Even though I appear as the author also of this second GitHub repository, this is just an automatic, read-only mirror of the CRAN archive, so please do not attempt to report bugs or contact me via this repository.

Version 1.1.23 had only the file setup.py changed for better dependency resolution. If version 1.1.22 is installed on your system, this is perfectly fine.

Reference: Daniel Müllner, fastcluster: Fast Hierarchical, Agglomerative Clustering Routines for R and Python, Journal of Statistical Software, 53 (2013), no. 9, 1–18, http://www.jstatsoft.org/v53/i09/.

Project details


Download files

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

Source Distribution

fastcluster-1.1.23.tar.gz (163.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

fastcluster-1.1.23-cp36-cp36m-win_amd64.whl (40.0 kB view details)

Uploaded CPython 3.6mWindows x86-64

fastcluster-1.1.23-cp36-cp36m-win32.whl (34.6 kB view details)

Uploaded CPython 3.6mWindows x86

fastcluster-1.1.23-cp36-cp36m-manylinux1_x86_64.whl (155.5 kB view details)

Uploaded CPython 3.6m

fastcluster-1.1.23-cp36-cp36m-manylinux1_i686.whl (145.8 kB view details)

Uploaded CPython 3.6m

fastcluster-1.1.23-cp36-cp36m-macosx_10_11_x86_64.whl (38.0 kB view details)

Uploaded CPython 3.6mmacOS 10.11+ x86-64

fastcluster-1.1.23-cp35-cp35m-win_amd64.whl (40.0 kB view details)

Uploaded CPython 3.5mWindows x86-64

fastcluster-1.1.23-cp35-cp35m-win32.whl (34.6 kB view details)

Uploaded CPython 3.5mWindows x86

fastcluster-1.1.23-cp35-cp35m-manylinux1_x86_64.whl (155.4 kB view details)

Uploaded CPython 3.5m

fastcluster-1.1.23-cp35-cp35m-manylinux1_i686.whl (145.7 kB view details)

Uploaded CPython 3.5m

fastcluster-1.1.23-cp34-cp34m-manylinux1_x86_64.whl (155.2 kB view details)

Uploaded CPython 3.4m

fastcluster-1.1.23-cp34-cp34m-manylinux1_i686.whl (145.5 kB view details)

Uploaded CPython 3.4m

fastcluster-1.1.23-cp27-cp27mu-manylinux1_x86_64.whl (152.0 kB view details)

Uploaded CPython 2.7mu

fastcluster-1.1.23-cp27-cp27mu-manylinux1_i686.whl (145.5 kB view details)

Uploaded CPython 2.7mu

fastcluster-1.1.23-cp27-cp27m-win_amd64.whl (36.6 kB view details)

Uploaded CPython 2.7mWindows x86-64

fastcluster-1.1.23-cp27-cp27m-win32.whl (32.9 kB view details)

Uploaded CPython 2.7mWindows x86

fastcluster-1.1.23-cp27-cp27m-manylinux1_x86_64.whl (152.0 kB view details)

Uploaded CPython 2.7m

fastcluster-1.1.23-cp27-cp27m-manylinux1_i686.whl (145.5 kB view details)

Uploaded CPython 2.7m

fastcluster-1.1.23-cp27-cp27m-macosx_10_11_x86_64.whl (37.7 kB view details)

Uploaded CPython 2.7mmacOS 10.11+ x86-64

File details

Details for the file fastcluster-1.1.23.tar.gz.

File metadata

  • Download URL: fastcluster-1.1.23.tar.gz
  • Upload date:
  • Size: 163.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fastcluster-1.1.23.tar.gz
Algorithm Hash digest
SHA256 dfcd192d4cd53cd0db27f9d86dc3c49d3a15e6114ff875428c367b8bd679e318
MD5 13a82cfbe1941c1701af058d01f7c6fa
BLAKE2b-256 318821e5b90bc7c4c5edc8cdd7f11b41f2873afd9a03537d2c82b45d1c808b0a

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 079dd626d2f19be4a924f476bb4c3b6bd18ead816854464e24ca93964260ff43
MD5 8dd4d8f9db8f954bf5360f476b000b41
BLAKE2b-256 341ce2f1ea2ce21f551a9b79b5eb23e0a3de2bc687086caf42b9f52051a41dae

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp36-cp36m-win32.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 42507f8c7daf2ec4d0e057f4f469654bf41cd5eddf6da30b26f9b00bc0f7a1d7
MD5 9cd83ed199b5a2c00c62a20353876a0c
BLAKE2b-256 ccf8767835e90209c1ac5c861a2d9effd9bec4f24d238d9f0c1ef21df3cc7957

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1a4554c4406271c206fd19212b6f7e560f05abdab8f98c2bf43d689aeff7f2af
MD5 940ee489c9731b788397c519bcd125f2
BLAKE2b-256 1f8172a8bb9509cae065c26e9b1e26c4a267c01d281acf34fdd5a9bd441d11c3

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 e95ec61ec238e64f903f607c9a41daf985bff31d6e9ffe3d59dac4ef584e56fb
MD5 b87785de7a2a5f7f9f53b4431647a9d2
BLAKE2b-256 4d038cb30fc13f1bc1405f588a4204f3b3fc3fa0a6f20aa871077dd0ff83dab6

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp36-cp36m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 bda143cddeb70b4d6a54c39dcc131ad48ffaa4c1f1e68dfc49cf87de6a388d39
MD5 6a28d036d3483dfec1becff4cb34d62d
BLAKE2b-256 bc11ffa6c572d36d0d5a33d6125781c6f8965a0318e6a2c85cb37f650c0e0fc0

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 f44c76ac9d685d3f8660e587b094e0d659a9f8613ef76cd867f7c67297fab66d
MD5 d7476d3f569d36a50fe06c8c45599951
BLAKE2b-256 ecd344c571e3f709ad4fe6c26c1f9a953444fcd0e1705455ae69b64b168f8779

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 bafdee917dfe5297efce7e5c32ef886f5311b72017a36087abc9b97b54e40eaa
MD5 ad0597fd532d11c916885664f1262fe6
BLAKE2b-256 002360956d2fa309ef91f840e515f13a987bef3393871988e946e281c2ef118a

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 8e8dc4ddd3dd940038e16ed577a578f794a9bdc50df253e0498df25bee071c84
MD5 3e428b989a036e377dae08bf5ac70d35
BLAKE2b-256 d5f479712ff4e98fe594e44ce118d013d12945ad68a118035473a3e42586cf90

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 de993d1520fd61ce1af9c21eb25cb1c149a9ff6a3a51aaf1ccb35bc388bd30d9
MD5 f825e47a41552f8552b127210770ba32
BLAKE2b-256 c89a7aa1b99d6fbafcfb2cfa311591b586bc49db4e09ca2f61c0bbf5cf488661

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 27495f83dd86cdf4696ab6ae1b1abe79a8ad990af812d0621bb615266f343616
MD5 90a5c16aeca983d29d5c9cb42ccc8855
BLAKE2b-256 b875b890e416f8067672121984d9ffe125f6519dc1649590438b49e16c99d173

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4006e470e185c07709adbffa10932af9818185fee0de6cd6d6221b02ea4eaca3
MD5 082376bfbd0ddf8edb2a65de2fa359f8
BLAKE2b-256 841213aaa37f62d9db2cf169153ae13d2fa1db3b0d37c6dae9c287e06aabd488

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e105ab71e284d0c32679ff00f9d1ebfbf11f383e8bf9a27a0a79fa3bb8cd57fb
MD5 94a129bcbc94bc5f2a76a4d3ae52fed9
BLAKE2b-256 627bd321f57c7dd4f77500fddcad61263deac3d60c6b944375442eac335da02f

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 714c63f22bbd18f73f03356fd06d54386ae27776ae29e6440fe397b906ab979f
MD5 061c850026b56b8ceea587d6f6705079
BLAKE2b-256 ba367542a471aa0b175461b40c75a0831e42b80a725d9a1444d872c51a0f9a5b

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 056ce4ca7a057549d77e51bc00af1ef57a7edffc59fc582def8dd005a69dce6b
MD5 88655e19939944ef9696d8418b527eb8
BLAKE2b-256 6cec7e3b06da2272b9b042923a934e337bc0cf89d44c2d2667df96930d0bdb79

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 61afbf98b7f13c0e8e55539cb53790a0b5f835997ab3e6b999d20db014f41842
MD5 f643479e6fd0fa97364663639f38ce80
BLAKE2b-256 181923b8722b800be51da97fd96e25a4e39307267972baf7a916bc448be0a99f

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 dc3a6571f140b5bc6c7340e3f7fd777931eda6871c8f64b834a8ceac78139f4c
MD5 4b97916d3577a589f9838b5a219a6eef
BLAKE2b-256 dc6d814c6e92fdda994538864c32a3941dd74d870a6ce42ea855a0bfd9fb0ada

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 56279048e460af52be8e86aa0044e0958ade65180ded82857ef54531fa062fbc
MD5 b07847b8408b763b49118600c008c108
BLAKE2b-256 70d3ad6efaef45e7fc1a952a6f996ab44a53c87222b9a23c3f5692993614863e

See more details on using hashes here.

File details

Details for the file fastcluster-1.1.23-cp27-cp27m-macosx_10_11_x86_64.whl.

File metadata

File hashes

Hashes for fastcluster-1.1.23-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 11b10e43470f192d3a026c303f594a5dbd655a4272bbf37530d1355127c1a868
MD5 cce09290d2fc7f1835e3854cd216edc4
BLAKE2b-256 dbb6beb7805154c53fb927ece51203574a822c2b6788dc9d9af60eaeb3322be0

See more details on using hashes here.

Supported by

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