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 Actions
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 for meanshift_rs-0.9.3-cp39-cp39-manylinux_2_28_x86_64.whl
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 for meanshift_rs-0.9.3-cp38-cp38-manylinux_2_28_x86_64.whl
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 for meanshift_rs-0.9.3-cp37-cp37m-manylinux_2_28_x86_64.whl

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

Security for meanshift-rs 0.9.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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