motiwari / BanditPAM

BanditPAM C++ implementation and Python package
MIT License
647 stars 38 forks source link

Make `buildConfidence` and `swapConfidence` settable from Python #91

Closed motiwari closed 3 years ago

motiwari commented 3 years ago

Two parameters of the KMedoids object, the buildConfidence and swapConfidence, are currently not modifiable on the fly; this means that to modify these values, we need to currently replace them where they are hard-coded and then rebuild the package.

Instead, make getters and setters for both of these fields and expose them via the Python bindings.