Metadata-Version: 2.4
Name: raso
Version: 0.2.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Dist: numpy>=1.24
Summary: Pure-Rust dimensionality reduction and density clustering for Python (abi3 wheels)
Author: Mike Macpherson
License: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/mmacpherson/raso
Project-URL: Repository, https://github.com/mmacpherson/raso

# raso

Pure-Rust dimensionality reduction and density clustering for Python, shipped as
a single `cp311-abi3` wheel (Python 3.11+) without Numba, LLVM, or native
BLAS/LAPACK dependencies.

Available estimators: `PCA`, `PPCA`, `TruncatedSVD`, `KernelPCA`, `MDS`,
`SpectralEmbedding`, `Isomap`, `PaCMAP`, `UMAP`, `TSNE`, and `HDBSCAN`.

```python
import numpy as np
from raso import HDBSCAN, KernelPCA, PaCMAP, UMAP

X = np.random.default_rng(42).normal(size=(200, 32))
coords = UMAP(n_components=2, n_neighbors=15, metric="cosine", random_state=42).fit_transform(X)
labels = HDBSCAN(min_cluster_size=5).fit_predict(coords)
kpca = KernelPCA(n_components=2, kernel="rbf", gamma=0.1).fit_transform(X)
pacmap = PaCMAP(n_neighbors=10, random_state=42).fit_transform(X)
```

Inputs are dense array-like matrices; estimators follow a scikit-learn-compatible
API (`fit`, `fit_transform`, `transform`, `fit_predict`, `get_params`,
`set_params`). Disconnected Isomap/spectral graphs raise an explicit error
rather than inventing links.

See the [repository README](https://github.com/mmacpherson/raso#readme) for
method semantics, complexity, feature flags, and the interactive WebAssembly demo.

