#238238th of 433 in ML frameworks and libraries

minisom

NumPy-based Python library for training Self Organizing Maps

Stars
1.6k
License
MIT
Last commit
Oct 2026
Last release
Feb 2026
Language
Python
Stars, last 29 weeks+38
6 May 2026: 1,571 stars13 May 2026: 1,576 stars20 May 2026: 1,576 stars27 May 2026: 1,578 stars3 Jun 2026: 1,578 stars10 Jun 2026: 1,580 stars17 Jun 2026: 1,581 stars24 Jun 2026: 1,583 stars1 Jul 2026: 1,587 stars8 Jul 2026: 1,589 stars15 Jul 2026: 1,590 stars22 Jul 2026: 1,591 stars29 Jul 2026: 1,594 stars5 Aug 2026: 1,594 stars12 Aug 2026: 1,594 stars19 Aug 2026: 1,596 stars26 Aug 2026: 1,597 stars2 Sept 2026: 1,598 stars9 Sept 2026: 1,600 stars16 Sept 2026: 1,601 stars23 Sept 2026: 1,602 stars30 Sept 2026: 1,603 stars7 Oct 2026: 1,605 stars14 Oct 2026: 1,605 stars21 Oct 2026: 1,605 stars28 Oct 2026: 1,605 stars4 Nov 2026: 1,607 stars11 Nov 2026: 1,609 stars18 Nov 2026: 1,609 stars25 Nov 2026: 1,609 stars

1,571 on 6 May 20261,609 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

MiniSom is a small Python implementation of Self Organizing Maps, an unsupervised neural network that projects high-dimensional data onto a 2D grid. It depends only on NumPy, with optional Numba JIT for batch training via `train_batch_offline_fast`. The examples cover hexagonal topology, color quantization, outlier detection and digit mapping.

Who it is for: Students and researchers using SOMs for clustering and visualization in Python

Strengths

  • Only NumPy is required; Numba is an optional extra (`pip install minisom[fast]`)
  • Small, vectorized codebase meant to be read and extended by students and researchers
  • Example notebooks for hexagonal maps, outlier detection, color quantization and digits
  • Cited more than 520 times in research, per the README

Weaknesses

  • Only Self Organizing Maps; not a general ML or deep learning library
  • Models are saved with pickle, which breaks if a lambda is used for decay
  • Numba speedup applies to batch offline training only; first call pays JIT compile cost
  • No GPU support mentioned; training runs on CPU

What it needs

  • no GPU
  • Needs numpy, numba (optional)
  • Models: Self Organizing Map

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#236torchmetricsPyTorch metrics library with automatic accumulation and multi-device sync2.5k starsApache-2.052 out of 100
#237mlj.jlJulia toolbox with a common interface for tuning and evaluating ML models1.9k starscustom license52 out of 100
#239spacy-transformersspaCy components that run Hugging Face transformer models inside pipelines1.4k starsMIT52 out of 100
#240visionhopeHierarchical vision backbone using self-referential nested learning, in PyTorch1.4k stars+114 (+9.0%) in 30 daysMIT52 out of 100
#241scikit-survivalSurvival analysis models for censored time-to-event data, built on scikit-learn1.3k starsGPL-3.052 out of 100