Harmonypy

Latest version: v0.0.9

Safety actively analyzes 619159 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.0.9

- Stop excluding `README.md` from the build, because setup.py depends on this
file.

0.0.8

- Replace `scipy.cluster.vq.kmeans2` with the faster function
`sklearn.cluster.KMeans`. Thanks to johnarevalo for providing details about
the running time with both functions in PR 20.

0.0.6

- Replace `scipy.cluster.vq.kmeans` with `scipy.cluster.vq.kmeans2` to address
issue 10 where we learned that kmeans does not always return k centroids,
but kmeans2 does return k centroids. Thanks to onionpork and DennisPost10
for reporting this.

0.0.5

- Expose `max_iter_harmony` as a new top-level argument, in addition to the
previously exposed `max_iter_kmeans`. This more closely resembles the
original interface in the harmony R package. Thanks to pinin4fjords
for pull request 8

0.0.4

- Fix a bug in the LISI code that sometimes causes computation to break. Thanks
to tariqdaouda for reporting it in issue 1

- Fix a bug that prevents controlling the number of iterations. Thanks to
liboxun for reporting it in issue 3

- Fix a bug causing slightly different results than expected. Thanks to
bli25broad for pull request 2

- Add support for multiple categorical batch variables.

0.0.3

- Speed up the Harmony algorithm. It should now be as fast as the R package.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.