BanditPAM v3.0.2
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 withbanditpam.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
intests/test_smaller.py
Style:
- We change
PAM
andFastPAM1
to usethis->*lossFn
instead ofKMedoids::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