This is a vectorised python implementation of the Self-Organising Map (SOM) algorithm. It was created for use in the author’s master dissertation and has now been released for anyone who might want to benefit from it. Please inform me of any additional functionality that might be desired.
## Features: ##
Fits and plots features, Best Matching Unit (BMU) counts and training curves for SOM
Quantisation or topological error based stopping criteria
Hypercube or random uniform weight initialisation
Periodic Boundary Conditions (PBC) allowing the SOM to wrap like a torous
Semi-Supervised training mode whereby the labels for a supervised learning problem are used to update the weights of the SOM but not to find the BMU
Clusters SOM nodes using K-Means clustering and plots cluster maps
Models, clusters and images are automatically saved (this is configurable)
Quantisation and topological errors are automatically logged to a csv file for each run of the model (with parameter values saved for reproducibility)
Has been used to fit data for a masters dissertation on a dataset with an excess of 1 million records
BitBucket repo: https://bitbucket.org/GeoffreyClark/somvec
Metadata
Release files for somvec 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| somvec-0.1.2.tar.gz | 9.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| somvec-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.5 kB
Release files / somvec-0.1.2.tar.gz
| Download URL | somvec-0.1.2.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
24e91a1dd557560e4f5f09e1d6a8dae2f3c21fa3b8330f93c3abf0633d4ecaa7
|
|
BLAKE2b-256 checksum How to use checksums |
b3ecdebd5d4fa60eaf6b456e362a5c5935f86c8838f420c6055b96302394678e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Release files / somvec-0.1.2-py3-none-any.whl
| Download URL | somvec-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0811f3bfe2ea30d5da851c2f3bd72bd1c2a6a72453df2f28534ae9304595a365
|
|
BLAKE2b-256 checksum How to use checksums |
dafa5c1118def422d93d8ea0c323911e982b964547fe58497a973f945cf1d7ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Security for somvec 0.1.2
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.