Skip to main content

metrx_logo

continous integration License: MIT

A lightweight JAX-based library offering a collection of distance and similarity measures for data analysis. Designed for scalability and accelerator support, it includes high-performance, parallelizable implementations of a wide range of commonly used metrics.

Installation

pip install -e .

Implemented Metrics

This library is still in development and more metrics will be added over time. The following metrics are currently implemented.

Distance Measures

Statistical Measures

Examples

To test, there are two examples: Either compare batches of particles

python examples/example_particle_data.py

or batches of time series data

python examples/example_time_series_data.py

Citation

If you use this libarary in your work, please consider citing it as follows:

@software{metrx2024github,
  author = {Pompetzki, Kay and Gruner, Theo and Al-Hafez, Firas, and Peters, Jan},
  title = {MetrX: A JAX-Based Collection of Similarity and Statistical Measures for Accelerated Data Analysis.},
  url = {https://github.com/pompetzki/metrx},
  year = {2024},
}

Metadata

Release files for metrx 0.1.0

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

Source distribution (sdist)

Source distribution for metrx 0.1.0
File Size Uploaded
metrx-0.1.0.tar.gz 17.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metrx 0.1.0
File Interpreter ABI Platform
metrx-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.3 kB

Release files / metrx-0.1.0.tar.gz

Download URL metrx-0.1.0.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
80d736846bd7a26a69bc259078cb65143c168d9329236856b2a848bd98016468
BLAKE2b-256 checksum
How to use checksums
492eaa395f9d780a1f84920691dc260e687ad163435cd92abef79c1bfd2ee1a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.16

Release files / metrx-0.1.0-py3-none-any.whl

Download URL metrx-0.1.0-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ee6b5af9f376b593b7593a533c7979d10fd32b10d48a58d453aea78b3b53f39
BLAKE2b-256 checksum
How to use checksums
48920199b81121aac9eded954d5be65d86d90900b6a7969af236549acd5e0abd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.16

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.0

2 release files

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