Spaces:
Runtime error
Runtime error
Update clustering.py
Browse files- clustering.py +2 -2
clustering.py
CHANGED
@@ -614,8 +614,8 @@ def perform_clustering(
|
|
614 |
embeddings_matrix = np.array(data[embeddings_col].tolist())
|
615 |
|
616 |
if not threshold_values:
|
617 |
-
|
618 |
-
threshold_values = np.linspace(min_eps, max_eps, n)
|
619 |
|
620 |
cluster_assignments = {}
|
621 |
cluster_counts = {}
|
|
|
614 |
embeddings_matrix = np.array(data[embeddings_col].tolist())
|
615 |
|
616 |
if not threshold_values:
|
617 |
+
threshold_values = np.round(np.linspace(min_eps, max_eps, n), 2)
|
618 |
+
# threshold_values = np.linspace(min_eps, max_eps, n)
|
619 |
|
620 |
cluster_assignments = {}
|
621 |
cluster_counts = {}
|