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.2.0.tar.gz (42.4 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.2.0-cp39-abi3-win_amd64.whl (335.5 kB view details)

Uploaded CPython 3.9+Windows x86-64

gathers-0.2.0-cp39-abi3-win32.whl (343.4 kB view details)

Uploaded CPython 3.9+Windows x86

gathers-0.2.0-cp39-abi3-musllinux_1_2_x86_64.whl (704.0 kB view details)

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

gathers-0.2.0-cp39-abi3-musllinux_1_2_i686.whl (751.8 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ i686

gathers-0.2.0-cp39-abi3-musllinux_1_2_armv7l.whl (675.2 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARMv7l

gathers-0.2.0-cp39-abi3-musllinux_1_2_aarch64.whl (846.2 kB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

gathers-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (533.7 kB view details)

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

gathers-0.2.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (496.3 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ s390x

gathers-0.2.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (507.4 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ppc64le

gathers-0.2.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (583.9 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ i686

gathers-0.2.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (412.7 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARMv7l

gathers-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (668.6 kB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

gathers-0.2.0-cp39-abi3-macosx_11_0_arm64.whl (511.7 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

gathers-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl (453.3 kB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for gathers-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1e16b15dc0bf07bb94610da487b7ad7a51a765d73a1f07f35c88c2a7772d49f0
MD5 4f30fda329f379cf494586903362575d
BLAKE2b-256 c94d4bcbf0c1d214944edb57b6b5bcb08897b68a820f1401ebbc3428a04c26b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gathers-0.2.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 335.5 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.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 39aef078231774ecb2f802b07e6d5426bc55b13f2f09897bd353541f989f12b3
MD5 8e0ca7d19411f588d1a373b4ed93554e
BLAKE2b-256 73c2e59e8f37fcd1ac559540ccfc96a86cc2566d0c647c0cf03625351f5cb84d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gathers-0.2.0-cp39-abi3-win32.whl
Algorithm Hash digest
SHA256 1c1c6974653a918d181e4419d9ca516b340e6b2b85e24753f0b8dfc068d81885
MD5 3bfd07b708627b3046c623de617eeea5
BLAKE2b-256 58143fcefc0e47b4b13dbf57ca0e68cdfce6b41dc69f4f0fef238ed7a5634b84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8b9a5bf42ba50a84226b88fc7a75f1ffa61e34ac9ae677e8fbb2cbf0f88b29f1
MD5 37432abd477ccdd79c59151cc77d1ab8
BLAKE2b-256 3229ad8b0ae239c45a82e45ec2822ee52f5d3834ef41ae0b0fc5625117d10f5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 fa500dfd69c31a67ca07ee3999389f29ea25263bfc12b9cbb7140433cb51c68c
MD5 65228a5c3d29b9842672f7da434997c9
BLAKE2b-256 2aaca051285a5012c4aa449f8395a9cd06b1c64debda26de0e6527c202d36804

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 364c9333992dad8e5570fac883c783ae0379fd00b6d34bab6d403549dccd1dbd
MD5 91dea5f425f4894e23ad1e62bad96c80
BLAKE2b-256 e630fb50e046bcc03dce2af5ab11ea40cfa4370eeddd120805d595843a6b95fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0020ddb32bf9525c026a0bae2703226da6546c5599b466ec2093b0a352e7d541
MD5 955ca09f36cfaab4115a830291f64051
BLAKE2b-256 345e7108b179e810b94501e7b554046d1275df0ee4b137e390f74ebbaf6d4dc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd43f60187165e2bb8be22fc3e8ad488e44fd0c866b81b6021bb4e8b002dcbab
MD5 bfa84da8602e7a26a017b016e26e61bd
BLAKE2b-256 fb0b595024b34a8167154fefadea159faac488dc129dde58a4756594f4cb4445

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 5b3aa5e5c4ca71f077f3d1557ea440c543ba54b217bca0d10ec4e8d59b34abd9
MD5 f5b87431348efb7bd695af58c89f6667
BLAKE2b-256 64d8c7407f807888bd3ce58c23ec43207c68d891a6a1594c4f27d2e1fd99d7c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 1c53ff6976e51bec36d58a8f71ca27d9b6faf9a01bb04684f210b1248716ba52
MD5 d1a2d4918804ee59d4a079066ddba589
BLAKE2b-256 eeeab9134a631dee90b42479dbbb34bc6d02bdc32ec1401d14ccad160f8cb232

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e2ded9c1be1fce45acdc3cd5e588f84919dc5280d913a6ff38640b092d0d4a15
MD5 8ebf556d35431cc0d95a80e6fd7913d4
BLAKE2b-256 f6a8884e9bac7aa56e9f50b84ce2f6760b0117cf22806c465cd21d61dc278bc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 62a0785d30228d24e9576d584384ec07ccae377a990577c5874dc384e7bf9b6b
MD5 737b9716d2dfb2b73f0451322d1c98ac
BLAKE2b-256 ab2d18da48700b6f5774d5f74bfe130e8c052461dba9b6fd3832c81bd9255c10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 499d359ebf6e356231b810c3569017b431c1b102b1545429dc2afe83144965fa
MD5 a9b5c8a26e7324ce68c7b0a702c591ac
BLAKE2b-256 919cc431e048ed55aa2dc1ea7b1aaadd5457a1805eed710bfee32b26732869be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac1c42ce01249877daf00deb51ae9cbef5bc368ac9bdf7ad8fce35877f91d836
MD5 37c4a5064475db1f40bb5dc2490d1a83
BLAKE2b-256 b76c6f13a312c866bab8f3efa0bb02bffaf5307cf83fc4c6a87641cfd2cf0e98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gathers-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ce25668e2d5b7fca71df19c7281b5ce47de153064ff0770bd442c4ef23f3724b
MD5 b92a0535cfadf0931a841b864bbff401
BLAKE2b-256 b1852e336694aa2f0cab4dabce4d11e702496cd12c32661ae7c4cfdbf87c4906

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