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)  # only support 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.1.tar.gz (43.5 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.1-cp39-abi3-win_amd64.whl (376.7 kB view details)

Uploaded CPython 3.9+Windows x86-64

gathers-0.3.1-cp39-abi3-win32.whl (379.4 kB view details)

Uploaded CPython 3.9+Windows x86

gathers-0.3.1-cp39-abi3-musllinux_1_2_x86_64.whl (764.3 kB view details)

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

gathers-0.3.1-cp39-abi3-musllinux_1_2_i686.whl (813.3 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

gathers-0.3.1-cp39-abi3-musllinux_1_2_armv7l.whl (730.9 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARMv7l

gathers-0.3.1-cp39-abi3-musllinux_1_2_aarch64.whl (903.0 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

gathers-0.3.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (593.7 kB view details)

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

gathers-0.3.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (559.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ s390x

gathers-0.3.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (573.1 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ppc64le

gathers-0.3.1-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (648.8 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ i686

gathers-0.3.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (469.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARMv7l

gathers-0.3.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (727.3 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

gathers-0.3.1-cp39-abi3-macosx_11_0_arm64.whl (562.2 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

gathers-0.3.1-cp39-abi3-macosx_10_12_x86_64.whl (503.2 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for gathers-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c749882fa9345eb7629832c06c2ea6ac9475ec67c3f219b7529fe7e24a43ef7c
MD5 3a671aead92368bc4fccfdd87a290ff6
BLAKE2b-256 534aa50c2f6c5d57231e918a32c3fdd4634b797a0df04822ff3d5315ec0f53d1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gathers-0.3.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bcca1cde68de8e94fcaadf3fbda11225d73783f62c5632b408557c63ba0e2030
MD5 8c71fdc31cc17c92879df9d9ef1e5372
BLAKE2b-256 6aee7b7d778b14f71e8cfab90e9d9ecfd1e9c08cacf3de0b25e8c97cbb2b9cde

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gathers-0.3.1-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 d92853067ed779d1d6c15a3b604af8a66a983f81773dc80b866bd9a15318b215
MD5 777063a839b4a256653c9801ff0ece38
BLAKE2b-256 e842a7942af77b7058a17d5554e7e340eb804556b418f240603d85b105b7eff8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a303c355bbf739a237b74eb35566cffbc5b68e8a29e9546185e8a3160fcf7889
MD5 5e4cd2aee456640b4aaedbcc5913b61f
BLAKE2b-256 4222a88cb960a454fe4e345c265f9ced11157decec366c255fdc7221ddcec5e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 735bcb49e7278eeef59420cf99e558a39840fad2c178a9af14166cf7fdb97d0e
MD5 7f8603fda1dbd772d0b10f2de754852d
BLAKE2b-256 6100adc7660db9dde2c6b918b93d1da884a6738fdcf6f317edb666b1d7fe0683

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 5f974f65a31376dd6137f1b01fefe590e81bb3d83f8f6c478809f881f71626e5
MD5 16e5726ffc8fc4aad92aeae2b72993c0
BLAKE2b-256 70f7cefd4d49ebbcda1ba64fdb407b9635cf52d85714efe299925ee10deba179

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2ff8b916cf55493491721d0848fbc6fb0a01f1e5f9ee9bd63b1c9ed29a60a8b5
MD5 6fc7cb95b1108615de852d06024fbcad
BLAKE2b-256 1b70cb647318754bcebe5a83648c0dac648735770f65924b37777ee25c1e71b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 567bc48c1a665f2cfe7b1014f8b6236896a1ede57f3c79ac97a5fee8587af36c
MD5 4ad99524019a83d9e8ba9abbaab5e4f4
BLAKE2b-256 f52aef3a556368d4be27d17819236fc499cc199995afaadb29a5dab53bd8d714

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 94b1bfff3f913242ccbe5561cd5b2e377d2dfc6cc1c8aa110573819f01c82b07
MD5 cefe76e83e34ed7316e482df517b5e87
BLAKE2b-256 54c94c0cc8ef9b2375aef830f75b4fe9c6aa08122ec1259d6450bda36902d9d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 ef819f65b26d4892ada23aec7580e78e0166fdd728d34ff01a76b2f8b5511fc3
MD5 dc9f099bdb984f4c5d8b1c0d991c06df
BLAKE2b-256 c0a3fa9abc6521029dcad98c5d7077ded65afbcf7eb76755acb3f171d85e3f86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 687473e9555e646dfcc5e40640a4d2cee10527cf655adb7b1aa1d2c7ed6412de
MD5 d5948243c70862792eefd82e47faa21c
BLAKE2b-256 a59782829fcaf8b43c717a6c0493c43ff82fa8bdee11e51ce1e38bb697ecef00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 aa076c0da87454076e603e5c68debd64b1dfab1235c1e5d34e14dec765879174
MD5 828ef81faebbe4e13e52d1f8c039e979
BLAKE2b-256 ad8aa737acd32a905015f7a11ae29272a87d1e70c267da040705b3fb8d6161a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6527c629f3a3423e2fb47ea29976aa71567473bad0ca3dc79ac1018d30b35262
MD5 897771ff8d999b0b377075ab09338234
BLAKE2b-256 e256cf3bda684336b8ebea1de5b7b5cc408d6ac026e86504c74217cf82f47b06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfd57b82b6e2925c650e05cfcfb70c13cddff8faca951d47cf553fa6d6a12f8a
MD5 930fc27188ded7a389542d6f80607ac3
BLAKE2b-256 aebec6d7fa976a4e761e9fe2b66293ab84c59e822d43f9185a6b093c9020816e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.3.1-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fe6dd1e36cd5f286b6fa33de3806945353fa18c86fae76119447077e3b2a282d
MD5 6469bac2f8c2ef43f905f7d549fb3786
BLAKE2b-256 39ac97cd0f891df013639cb43640427938586f22d18a935a094eb027082c885d

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