Skip to main content

MeanShift-rs

pipeline status coverage report

Git tag

Install as Python Package

0. Minimum Requirements

  • rustc 1.54.0
  • Python 3.7

1. Create Python Environment

python3 -m venv .venv

2. Install MeanShift-rs

make install

or

pip install -r requirements.txt
bash ./tasks.sh release-install

or

pip install meanshift-rs

Usage

Rust

use meanshift_rs::{MeanShiftActor, Parameters};

fn example_fn(dataset: Array2<f64>) {
    let parameters = Parameters::default();
    let mut mean_shift = MeanShiftActor::init(parameters);
    let (centers, labels) = mean_shift.fit(dataset)
        .expect("No MeanShiftResult was returned!");
}

Python

from meanshift_rs import MeanShift

# ... load data

ms = MeanShift()
ms.fit(data)

print(ms.cluster_centers)
print(ms.labels)

Metadata

Release files for meanshift-rs 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for meanshift-rs 0.9.3
File Interpreter ABI Platform
meanshift_rs-0.9.3-cp39-cp39-manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64 Details
meanshift_rs-0.9.3-cp38-cp38-manylinux_2_28_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.28+ x86-64 Details
meanshift_rs-0.9.3-cp37-cp37m-manylinux_2_28_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.28+ x86-64 Details

Total release size: 3.8 MB

Release files / meanshift_rs-0.9.3-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL meanshift_rs-0.9.3-cp39-cp39-manylinux_2_28_x86_64.whl
Size 1.3 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
bdbac3795e074a4c05e2eb71c052c83221418720e3d32ed14ffdad579042072d
BLAKE2b-256 checksum
How to use checksums
34b16cfdc16866df12359362ee465f730cbb174f1a2d30b350ffd7da3425262e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / meanshift_rs-0.9.3-cp38-cp38-manylinux_2_28_x86_64.whl

Download URL meanshift_rs-0.9.3-cp38-cp38-manylinux_2_28_x86_64.whl
Size 1.3 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5d5865cc390ab3e37c67b409c55d1306356f73df798bd3c116346009464b36bf
BLAKE2b-256 checksum
How to use checksums
885d748b966a6dd5829990afcc4d50f9983fcfe8fd7b0729d352d8ceb961d5d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.13

Release files / meanshift_rs-0.9.3-cp37-cp37m-manylinux_2_28_x86_64.whl

Download URL meanshift_rs-0.9.3-cp37-cp37m-manylinux_2_28_x86_64.whl
Size 1.3 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
522997fdf600a29373a1332983924de9cb3ddb95a6c04b0f5ac92cd93ef5615f
BLAKE2b-256 checksum
How to use checksums
84c0c0962627556a7bc2bdf7de295f5f5ca4496f2d917375d89814cd4a5e2d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.13

Release history Release notifications | RSS feed

This release

0.9.3 This release

3 release files

0.9.2

3 release files

0.9.1

4 release files

0.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page