Skip to content

Commit

Permalink
3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Jul 16, 2019
1 parent 1517124 commit 4f204f1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# [3.0.0](https://github.com/mljs/hclust/compare/v2.0.3...v3.0.0) (2019-07-16)


### Code Refactoring

* make AGNES algorithm closer to R ([#11](https://github.com/mljs/hclust/issues/11)) ([1517124](https://github.com/mljs/hclust/commit/1517124))


### BREAKING CHANGES

* - use the Lance-Williams algorithm to update cluster distances.
- add other methods that exist in R.
- remove `ClusterLeaf` class and use an `isLeaf` property instead.
- remove `index` array from clusters. Instead, an `indexes()` method has been added to compute it.
- add a `size` property to clusters that indicates the number of leaves below it.
- the default `method` is now `'complete'`.
- DIANA has been removed from the package pending rewriting it.



## [2.0.3](https://github.com/mljs/hclust/compare/v2.0.2...v2.0.3) (2019-07-10)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ml-hclust",
"version": "3.0.0-1",
"version": "3.0.0",
"description": "Hierarchical clustering algorithms",
"main": "hclust.js",
"module": "src/index.js",
Expand Down

0 comments on commit 4f204f1

Please sign in to comment.