8000 remove 1 layer · scikit-learn/scikit-learn@9449f49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9449f49

Browse files
committed
remove 1 layer
1 parent a2ee963 commit 9449f49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/cluster/birch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _split_node(node, threshold, branching_factor):
7474

7575
farthest_idx = np.unravel_index(
7676
dist.argmax(), (n_clusters, n_clusters))
77-
node1_dist, node2_dist = dist[tuple([farthest_idx])]
77+
node1_dist, node2_dist = dist[farthest_idx]
7878

7979
node1_closer = node1_dist < node2_dist
8080
for idx, subcluster in enumerate(node.subclusters_):

0 commit comments

Comments
 (0)
0