Skip to main content

Clustering algorithm implemented in Rust and wrapped with PyO3

Project description

Gathers Python

PyPI version

Installation

pip install gathers

Usage

from gathers import Gathers
import numpy as np


gathers = Gathers(verbose=True)
rng = np.random.default_rng()
data = rng.random((1000, 64), dtype=np.float32)
centroids = gathers.fit(data, 10)
labels = gathers.batch_assign(data, centroids)
print(labels)

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

gathers-0.3.0.tar.gz (43.0 kB view details)

Uploaded Source

Built Distributions

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

gathers-0.3.0-cp39-abi3-win_amd64.whl (377.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

gathers-0.3.0-cp39-abi3-win32.whl (380.9 kB view details)

Uploaded CPython 3.9+Windows x86

gathers-0.3.0-cp39-abi3-musllinux_1_2_x86_64.whl (763.7 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

gathers-0.3.0-cp39-abi3-musllinux_1_2_i686.whl (813.5 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

gathers-0.3.0-cp39-abi3-musllinux_1_2_armv7l.whl (730.1 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARMv7l

gathers-0.3.0-cp39-abi3-musllinux_1_2_aarch64.whl (902.4 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

gathers-0.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (593.4 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

gathers-0.3.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (559.1 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ s390x

gathers-0.3.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (572.3 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ppc64le

gathers-0.3.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (649.5 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ i686

gathers-0.3.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (468.8 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARMv7l

gathers-0.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (726.8 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

gathers-0.3.0-cp39-abi3-macosx_11_0_arm64.whl (561.7 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

gathers-0.3.0-cp39-abi3-macosx_10_12_x86_64.whl (503.7 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file gathers-0.3.0.tar.gz.

File metadata

  • Download URL: gathers-0.3.0.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.7

File hashes

Hashes for gathers-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2ca028342c9e9d45a2333f4b1b9c7740198957be2ae464a668bdb994453ce40c
MD5 9883cf7bdd4b1b50f292fd48b447937c
BLAKE2b-256 1c56b4b617dc142b3f7724ac656ee117b6af16b633400e4b59269dfa9166d1c4

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: gathers-0.3.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 377.7 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.7

File hashes

Hashes for gathers-0.3.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 37823f15f2c9b7e04f3a209896211379bc101547946b1926bd30a352d18c15af
MD5 6981b3ed467ad33664d9b74efa481731
BLAKE2b-256 e189dd56aafca77e01e4e907c7591c6193ce7f2176ae72d2ee4e0bb9ec6299c8

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-win32.whl.

File metadata

  • Download URL: gathers-0.3.0-cp39-abi3-win32.whl
  • Upload date:
  • Size: 380.9 kB
  • Tags: CPython 3.9+, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.7

File hashes

Hashes for gathers-0.3.0-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 0202d1098b91a203170555fbf986ef3c8367b97b0b6adc9ac6ea9604b87c4a38
MD5 425f7c1f0c918567af2b660f158c8a52
BLAKE2b-256 bce6aae9fc3c1b499bc1d5f1422e9725f922f526c912508406c4e11f0f81792e

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 09a0c7f6df8eb6d41c77b6bde4deec7a15dd403895ff97b9bf940fceb1b287c2
MD5 b7c0a1d6e7a50e938a67fadd248b82b8
BLAKE2b-256 b72dd49ad01294f6df4e8b4b52a289a66755ce98b27ef74b07d89bfdaeca1d8b

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 6af38b09827ce855383fa02074be2b63eda582325859df5b20afddff0794d0f3
MD5 69b4e2b73eba3f69c536fbf36e845074
BLAKE2b-256 a27a9a95e74c7e04ce6cd7514c4ed3c592ce2830edf71ccf5261de5fa0316c88

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 bec394f69fcc0a99d2df581440088035cfb98e7f1634152f1333ebe4eddb1de7
MD5 c6559825415b29898d765690526a5b0d
BLAKE2b-256 8021c0a491a8228b85003e565760835939caad409f5b1c6e727eb9dbb27bfa90

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 ed0e379f627111bcb559e6c6f3006f99d1e0f43a90f0656f1dd8d0a039d9cda1
MD5 c6152a2acf724ab74be98f7bbe686b30
BLAKE2b-256 ebaa11f7ba50d691d57d362785e8b3a3adb698a0197d1f467d4b4ce257dbebbe

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a6220b5c36277177672abbd000688db9c1acff0ec414beb18fb3c52cf448ddc
MD5 1eb64ed18b293fdae73fc9a5469f291b
BLAKE2b-256 86d791c75040354e870c03dad9dd066b910352d69899a09343e0f6e663f787c6

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 d433ef798e89ea78d75adda3a71d6d51db2a6ec6d7341caf0e1b3c9486c81fe7
MD5 420bb429fb0c58e9a438c0665bef2d1b
BLAKE2b-256 9070085ed1804607b9641de7096b33f4961cb8e840087bce4ce5f1a754e024cf

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 cb9e809d416c30de68ed217dcbd853ce46579d28c1ce540c2ac942a5a3a19e7d
MD5 e6be4d8e43ea1b827599e3406fb262e0
BLAKE2b-256 b630b035bf71ef998002ce0c7213c460183db4561cb1e5cf3bb6b5c3f6c52de9

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 9e95ecd4e55da66062868b38207ea7d339a72ba2c1d918fca5ab0c7e2989a403
MD5 a3e470a96a66c74dd6943597a14df994
BLAKE2b-256 51b0df000a2fdf3940b7aa4f2d311822cddb2f85c66a700319c96c92f9b0c4b4

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 ee00377fc6a8d4aec9684c5cc9edf9aa6e98e03d29a95b9f0eefa37a708b99cc
MD5 2aa69d927876993fca2e8bd7b07afa1e
BLAKE2b-256 31c416939fd7895bc7ea89055fc6ae8bc07d9bcad1fff1c7e0704475846215e1

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f6ae636bdc5d85c00ca9e672fe3acbfc31a38deef4e43571d8ca01c7e417b5e9
MD5 58a86f017b454b883ad55d629489f2e4
BLAKE2b-256 58ef27948ba4777c099d182dce37fdde5acf35c2f56b94fe24cb92008cd2d6e7

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aab78ff98c8d7b945398dafd0856a104b4b43d22d3e22142f445a3a2abdc39cd
MD5 93a3c6f83c6a033757abcef93bc2cb43
BLAKE2b-256 e9c87e5067bcd66e5c42f98368a4ec55f40bde9f0980459d1187044175112e23

See more details on using hashes here.

File details

Details for the file gathers-0.3.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for gathers-0.3.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 09497626ab2368ff15b7f12e765a4307fd111ff930edafcf2b2fa402842a6faa
MD5 a991d15983189cba543f9dff6f46e0b3
BLAKE2b-256 822bd9652a72374d884e9d7650c1d64145ef1d2f1f4ce77476e5d966a82b6e3a

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