Changelog¶
All notable changes to TorchSOM are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
For the full commit history, see the GitHub releases page.
The auto-generated CHANGELOG.md in the repository root is maintained by
Commitizen and provides
a detailed, commit-level changelog.
v1.1.1¶
Periodic Boundary Conditions (PBC) support for toroidal SOM topologies
FAISS backend for accelerated BMU search (
uv add torchsom[faiss])Configurable search backend (
auto,torch,faiss)Additional quality-of-life improvements and bug fixes
v1.0.0¶
Initial public release of TorchSOM, accompanying the arXiv paper.
Features
Classical SOM implementation with PyTorch backend
GPU-accelerated training with batch learning
scikit-learn-style API (
fit,build_map,cluster)Rectangular and hexagonal grid topologies
Four distance functions: Euclidean, Cosine, Manhattan, Chebyshev
Four neighborhood functions: Gaussian, Mexican Hat, Bubble, Triangle
Multiple decay schedulers for learning rate and neighborhood width
PCA and random weight initialization
Comprehensive visualization suite (seven visualization types)
Clustering integration (K-Means, GMM, HDBSCAN)
Just-In-Time Learning (JITL) via
collect_samples()Pydantic-based configuration with validation
90% test coverage
Full documentation with tutorials and API reference
How to Contribute¶
We welcome contributions! See our contributing guide for details.
Report Issues¶
Found a bug or have a feature request? Please:
Check existing GitHub Issues
Create a new issue with detailed information
Include minimal reproduction examples
Specify your environment details