Skip to content

BanditPAM v3.0.2

Compare
Choose a tag to compare
@motiwari motiwari released this 18 Jan 23:10
· 408 commits to main since this release
5743ac8

BanditPAM v3.0.2 contains several bugfixes:

Organization and Functionality:

  • We now allow the user to set a seed for reproducible results (must be called with banditpam.set_num_threads(1) for deterministic reproducibility) (Fixes #176)
  • We have added the KMedoids.average_loss attribute to contain the final average clustering loss after fitting (Fixes #174)
  • We throw an std::invalid_argument error properly when specifying an invalid loss function (Fixes #173, Fixes #141)

Tests:

  • We now also test PAM in tests/test_smaller.py

Style:

  • We change PAM and FastPAM1 to use this->*lossFn instead of KMedoids::cachedLoss to avoid resetting the cache for them; they do not benefit much from a cache anyway
  • Nits

Documentation:

  • Created documentation for new functions

Full Changelog: v3.0.1...v3.0.2