Skip to content

feat: Add SNG model, lr_ratio docs, and test coverage - #93

Merged
naotoo1 merged 3 commits into
mainfrom
feat/sng-lr-ratio-docs
Jun 29, 2026
Merged

feat: Add SNG model, lr_ratio docs, and test coverage#93
naotoo1 merged 3 commits into
mainfrom
feat/sng-lr-ratio-docs

Conversation

@naotoo1

@naotoo1 naotoo1 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Supervised Neural Gas (SNG) base model with Euclidean distance
  • Add lr_ratio parameter docstrings to all 30 NG model variants (core, DK, Riemannian, mixins, probabilistic)
  • Add SNG to Sphinx API docs and supervised guide
  • Add comprehensive test suites: test_sng.py and test_ng_lr_ratio.py (58 tests)

Test plan

  • pytest tests/test_sng.py — all passing
  • pytest tests/test_ng_lr_ratio.py — all 41 passing
  • Verified every model with lr_ratio code has matching docstring entry

naotoo1 added 3 commits June 29, 2026 23:57
- Add Supervised Neural Gas (SNG) base model with Euclidean distance
- Register SNG in __init__.py and Sphinx API docs
- Add lr_ratio parameter docstrings to all 25 NG model variants
- Add lr_ratio to NG mixins (celvq_ng, oc_glvq_ng, oc_rslvq_ng, mrslvq_ng, rslvq_ng)
- Add comprehensive test suite for SNG (test_sng.py)
- Add lr_ratio test coverage across core and DK NG models (test_ng_lr_ratio.py)
@naotoo1
naotoo1 merged commit b6b4311 into main Jun 29, 2026
1 of 4 checks passed
@naotoo1
naotoo1 deleted the feat/sng-lr-ratio-docs branch June 29, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant