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.

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.24.tar.gz (166.1 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.24-cp36-cp36m-win_amd64.whl (39.9 kB view details)

Uploaded CPython 3.6mWindows x86-64

fastcluster-1.1.24-cp36-cp36m-win32.whl (34.5 kB view details)

Uploaded CPython 3.6mWindows x86

fastcluster-1.1.24-cp36-cp36m-manylinux1_x86_64.whl (155.4 kB view details)

Uploaded CPython 3.6m

fastcluster-1.1.24-cp36-cp36m-manylinux1_i686.whl (145.7 kB view details)

Uploaded CPython 3.6m

fastcluster-1.1.24-cp36-cp36m-macosx_10_11_x86_64.whl (38.3 kB view details)

Uploaded CPython 3.6mmacOS 10.11+ x86-64

fastcluster-1.1.24-cp35-cp35m-win_amd64.whl (39.9 kB view details)

Uploaded CPython 3.5mWindows x86-64

fastcluster-1.1.24-cp35-cp35m-win32.whl (34.5 kB view details)

Uploaded CPython 3.5mWindows x86

fastcluster-1.1.24-cp35-cp35m-manylinux1_x86_64.whl (155.2 kB view details)

Uploaded CPython 3.5m

fastcluster-1.1.24-cp35-cp35m-manylinux1_i686.whl (145.6 kB view details)

Uploaded CPython 3.5m

fastcluster-1.1.24-cp34-cp34m-manylinux1_x86_64.whl (155.0 kB view details)

Uploaded CPython 3.4m

fastcluster-1.1.24-cp34-cp34m-manylinux1_i686.whl (145.4 kB view details)

Uploaded CPython 3.4m

fastcluster-1.1.24-cp27-cp27mu-manylinux1_x86_64.whl (151.8 kB view details)

Uploaded CPython 2.7mu

fastcluster-1.1.24-cp27-cp27mu-manylinux1_i686.whl (145.3 kB view details)

Uploaded CPython 2.7mu

fastcluster-1.1.24-cp27-cp27m-win_amd64.whl (36.5 kB view details)

Uploaded CPython 2.7mWindows x86-64

fastcluster-1.1.24-cp27-cp27m-win32.whl (32.8 kB view details)

Uploaded CPython 2.7mWindows x86

fastcluster-1.1.24-cp27-cp27m-manylinux1_x86_64.whl (151.8 kB view details)

Uploaded CPython 2.7m

fastcluster-1.1.24-cp27-cp27m-manylinux1_i686.whl (145.3 kB view details)

Uploaded CPython 2.7m

fastcluster-1.1.24-cp27-cp27m-macosx_10_11_x86_64.whl (38.0 kB view details)

Uploaded CPython 2.7mmacOS 10.11+ x86-64

File details

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

File metadata

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

File hashes

Hashes for fastcluster-1.1.24.tar.gz
Algorithm Hash digest
SHA256 a5d1922b1db6f4c3012416e7dc14de2984b9335a48c895e1698afd5c718312b0
MD5 e71235732f43f5f19d71cfaf3b45ff0c
BLAKE2b-256 1e009910dd324f32582051d0ee6922c3cd4727234aae96366f3867c46a70cd78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a7251b6bdb8d01397b8d6fa0e3a3eb1dd1a03a6baf180128b05a6dbdac0fac3e
MD5 74a9b62d81b58712051d965f6c591484
BLAKE2b-256 063217e7a73f3f641ac56dad3e8df0822757fd640754d14405d6629db01f26e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 2f283274d4d32a5a413811ad521ba3877b34d1a5dee849499b97c297bfec14a2
MD5 c8c32073b10b71c4c737ced5170ad29a
BLAKE2b-256 f29acca334ff09dbf31c43853c1f1f2bc8054636152c769feff2a253ea6d7691

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f5221da1dcbbdd6893917a41676e577dd5733fb6a31767a960c4b68e62a2ba4a
MD5 4ecfee8b8e8e3e0843358c37a391de90
BLAKE2b-256 1348c0324f9508cd31758c178125c3b772c093e974900afb846dba12c712ee98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 df00dfc82cadbee7d9e5ed7d5f0345d19c74efa59218e8a6106ac330def45686
MD5 70f011bd9dc33c560ae1f3e8dffe8270
BLAKE2b-256 10cdaecb7afcf68e21942f43a0fdeb584305064b31f8cbe08cd4926380cff2a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp36-cp36m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 45869f84fa7828527aac4d51d8e45a70acdd0eb89c32324572045b7b7e263c37
MD5 f937422ceebf6b97301f9c4e6403eb3b
BLAKE2b-256 0ae0e8e5f691e64fdf399be82ad6e2316b6c16eba51ab552565272ee123a0656

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 fcaf2eb077f6210e23e3aae2dc9a27e0b6d0a82832bb69b7f144ba6289d93f8d
MD5 a1b780400bd5672e31cd1e0d4b6f339a
BLAKE2b-256 bbfc25fdd4698f1dfa5325be665b84e226080891a4d903ebd7b095c1d1f276d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 1d5e4ec02ac3d88cb4b8543a30c232b285c199ed6133537a0b73a6f64fa37f34
MD5 fc91b86af0c0e9983cd4856bb66fb021
BLAKE2b-256 e0108d5671c0b2ec882539882fa2da3553fe5b68e17f55ec8f4f99038ef5b574

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 47a39fbdf01a17dc199fd98055b92c364f8b79bb5e08c43caf8b6a2870c8c2b2
MD5 20c1423b363877cc019afd4582f8822f
BLAKE2b-256 76b955607512e19e1f5e2bc8e5bc49d6f6125a5489ac010e7c03f2f3b267c1ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 89fde5adf9c41198d0f35a0b7ed75d7d6bf5fa993efc84c5d50c004a7adca37f
MD5 95da02efba6366151fc043e9ea837a33
BLAKE2b-256 badb693e4e0126fdd9fa3134d2f17ba9ac82996e63968024a42772d2de790345

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 79cb967a2f73f9092b25e7813bd111737a5680a62a15b73c9144f7135de24678
MD5 f59b1fea8a568274f07515fdc7da68b7
BLAKE2b-256 cf2b192eec5a6e10bb039b6a2be47e0ddd888c60b42bed62eef296facf3719a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a4d50eb77972e3dbb0da909ce79ab197ab6c5f652ff3eb040b7cbfaf59b877f3
MD5 546cbbcd127ab173f7b125f7213ef31d
BLAKE2b-256 11aa32e9af633ad79a332d16d24bd1ffd9c0cdc240e3339d4084fa3b61ff1a28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c91b8af6bb7d4512f9fc68193ef11acaae06e1a7d8c2ea4551f883f4c7fb06ae
MD5 5f895fd360251fb8e3290d91fbaea06f
BLAKE2b-256 9accee72e3828578903091ddb3e6db893db4305306551f74671b5b8789aecb25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0c68e576915b6b494ec5886f40c9179a233b713a38cad4322e291d751ff98f9b
MD5 6d87f0c9addddb8f87bd8c26e32f338c
BLAKE2b-256 90358cdaf4c9caac544dac9e03ee09b49216c98e817ef6daafa2e63372b72d07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 5b706ee6868a1af710ffce89fb94e0b5d12401b6d2cda7db6968b4bf32179bc6
MD5 953472dbd22ee89e6c92eb6799553391
BLAKE2b-256 6a20bde8f0950c0358b3f6e83f830a20a8df3d02492afa3c3c40efaaa9984f85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 f19865b3b68b5c2ce16333e81cd6b3da7b5e7b79993b9bba66a90bf7cfe1a8f7
MD5 6ce75f8f729787536cbe01c302498652
BLAKE2b-256 3944cfb1d36f519cf73155a139d73ed56e954d06ab548968614d63c452cdcf63

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ac93b19016f309b8428b35750e1ab03981bd8942a561c1f75942e409813dfb47
MD5 79cd09f0335a687b03bc325c77b75c74
BLAKE2b-256 ef4044e4b213ebd32ff1fc0798188d6cfc51a7fef793be5d2feb0875524d581f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0b2d08f1d0370016d4f413868da25d7b372457773a631554c72fb019cba68397
MD5 72160d72ed75d28b79c1d7fa8bb28d26
BLAKE2b-256 78d0460666535fd087a98a3f8bef75dad3923bf18232508b2a7d1b251363f0d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastcluster-1.1.24-cp27-cp27m-macosx_10_11_x86_64.whl
Algorithm Hash digest
SHA256 87bfb00c15c322851bc53421c76155a8c02b811fee811264095e09cd80f865f0
MD5 f3eaa43ded8854978bf99fc39acca457
BLAKE2b-256 4ac1bc873d4f36c86ae3c0c9da9db685b84cfcb82305bdce17b9ee996554b8e7

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