Skip to content

v1.2.4

Choose a tag to compare

@SandroMartens SandroMartens released this 05 Jun 21:09
· 93 commits to main since this release

Breaking Changes

spreading_factor and threshold_method removed (feat(BaseSom)!)

  • Replace spreading_factor=sf with lambda_=150 * -log(sf) (e.g. sf=0.5 → lambda_=104.0)
  • Only the paper-correct SE formula remains: GT = λ · ‖std(X)‖
  • Default lambda_=115.0 (Qu et al. 2019, optimized on KDD99 + CICIDS2017)

Mini-batch path removed (perf(BaseSom)!)

  • batch_size parameter removed; full-batch training only

New Features

  • topographic_product_ attribute added after fit
  • SomVQ and SomClassifier exported from package init

Performance

  • Winner-stability convergence — winner_stability_threshold param; faster coarse-phase convergence detection
  • Pointer-based BMU search — pointer_search + pointer_search_radius params; ~3× speedup in fine phase with near-identical quality
  • BMU search: Numba kernel → BLAS euclidean_distances (faster, lower memory)
  • Voronoi centre kernel: fixed cache-unfriendly loop

Fixes

  • sigma_end / sigma_start defaults unified and sigma_end computation corrected
  • Convergence threshold now scaled by sigma
    -Topology metrics corrected; topographic_product_ stored in fit()

Docs

  • Algorithm page restructured: complexity split into Training/Runtime, space complexity peak term added, heading levels fixed
  • Sphinx-gallery examples added (plot_2d_clustering, plot_digit_classification)

Full Changelog: v.1.2.3...v1.2.4