self-organizing-map
A high-performance implementation of the Self-Organizing Map (SOM) algorithm in Rust, exposed as a Python module.
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
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| somu-1.3.0.tar.gz | 5.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|