Skip to main content

self-organizing-map

A high-performance implementation of the Self-Organizing Map (SOM) algorithm in Rust, exposed as a Python module.

image

Installtion

This module interfaces with the ArrayFire library (version 3.8.0). To ensure proper functionality, make sure the ArrayFire shared libraries are discoverable by the system. You can do this by updating your LD_LIBRARY_PATH environment variable:

export LD_LIBRARY_PATH=/path/to/arrayfire/lib64:$LD_LIBRARY_PATH

Then to install the latest version of the package from PyPI, simply run:

pip install somu

Usage

from somu import som
from numpy import random

data = random.rand(1000, 2)
som(data, (10, 10))

Demo requirements

Before running the demos make sure to have the required packages installed:

pip install -r demos/requirements.txt

Shield: CC BY-NC 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

CC BY-NC 4.0

Metadata

Release files for somu 1.3.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 somu 1.3.0
File Size Uploaded
somu-1.3.0.tar.gz 5.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for somu 1.3.0
File Interpreter ABI Platform
somu-1.3.0-cp38-abi3-manylinux_2_34_x86_64.whl CPython 3.8 abi3 Linux glibc 2.34+ x86-64 Details

Total release size: 50.5 MB

Release files / somu-1.3.0.tar.gz

Download URL somu-1.3.0.tar.gz
Size 5.8 MB
Tags Source
SHA-256 checksum
How to use checksums
bfad1df1f262e557aea471636873e207b5217dbb5774f01c1a6e43600167709c
BLAKE2b-256 checksum
How to use checksums
ccf61c9748b03ff7d0fce4e7eb2e7f7ecddcb5f9564fa5b1c8e68b1f5e3a68cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release files / somu-1.3.0-cp38-abi3-manylinux_2_34_x86_64.whl

Download URL somu-1.3.0-cp38-abi3-manylinux_2_34_x86_64.whl
Size 44.7 MB
Tags CPython 3.8 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
a5f1509ecc296f029465547e99557167a376478f827621700129dfc4cec4abf2
BLAKE2b-256 checksum
How to use checksums
aab8ee58520a12e1d4fc3bdccdf8d5c85f71285309eb7522213509882cfe9659
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.8.3

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.1

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.2

4 release files

0.2.1

4 release files

0.2.0

1 release file

0.1.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