Skip to main content

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

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)

Source distribution for somvec 0.1.2
File Size Uploaded
somvec-0.1.2.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for somvec 0.1.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

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