diff --git a/river/cluster/hcluster.py b/river/cluster/hcluster.py index f5f6f7775f..a07759dafb 100644 --- a/river/cluster/hcluster.py +++ b/river/cluster/hcluster.py @@ -19,11 +19,6 @@ def __init__(self, key: int, data: np.ndarray = None): self.parent = None -def euclidean_distance(w_i, w_j): - # Euclidean distance between two nodes - return np.linalg.norm(w_i.data - w_j.data) - - class HierarchicalClustering(base.Clusterer): """Hierarchical Clustering.