jasondavies / science.js

Scientific and statistical computing in JavaScript.
http://www.jasondavies.com/
Other
886 stars 93 forks source link

hcluster distances are incorrect for complete and average linkage #34

Open Dev-Lan opened 1 year ago

Dev-Lan commented 1 year ago

I noticed a few issues with cluster distances when calling hcluster with a complete or average linkage. For more details, as well as a fix see this PR on a repo with hcluster code derived from this repo.

Related Pull Request: https://github.com/jdfekete/reorder.js/pull/48