Skip to content

Commit

Permalink
new test
Browse files Browse the repository at this point in the history
  • Loading branch information
kchardon committed Nov 11, 2024
1 parent e942ba2 commit c1deecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions river/cluster/hcluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ class HierarchicalClustering(base.Clusterer):
'[2, 2, 1]': [6, 7, 5, 9],
'[5, 2, 3]': [8, 9]}
>>> hierarchical_clustering.predict_one({0: 4, 1: 3, 2: 1})
>>> hierarchical_clustering.predict_one({0: 3, 1: 3, 2: 3})
([10, 11, 9], 8)
>>> hierarchical_clustering = hierarchical_clustering.learn_one({0: 4, 1: 3, 2: 1})
>>> hierarchical_clustering = hierarchical_clustering.learn_one({0: 3, 1: 3, 2: 3})
>>> print(hierarchical_clustering)
-> 10
Expand Down

0 comments on commit c1deecf

Please sign in to comment.