Metadata-Version: 2.3
Name: gathers
Version: 0.1.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: numpy
Requires-Dist: ruff >=0.8.0, <1.0 ; extra == 'dev'
Provides-Extra: dev
Summary: Clustering algorithm implemented in Rust and wrapped with PyO3
Keywords: clustering,algorithm,rust,pyo3,machine-learning
Author-email: Keming <kemingy94@gmail.com>
Requires-Python: >=3.9
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/kemingy/gathers
Project-URL: Repository, https://github.com/kemingy/gathers.git
Project-URL: Documentation, https://github.com/kemingy/gathers
Project-URL: Issues, https://github.com/kemingy/gathers/issues

# Gathers Python

## Installation

```bash
pip install gathers
```

## Usage

```python
from gathers import assign, kmeans_fit
import numpy as np


data = np.random.rand(1000, 8).astype(np.float32)
centroids = kmeans_fit(data, 10, 10)
label = assign(data[0], centroids)
```

