Kuautli commited on
Commit
0b29bd8
·
verified ·
1 Parent(s): 3d454b3

Update clustering.py

Browse files
Files changed (1) hide show
  1. clustering.py +1 -1
clustering.py CHANGED
@@ -600,8 +600,8 @@ def create_3d_umap_plot(data):
600
 
601
  def perform_clustering(data, min_eps, max_eps=0.95, n=5, threshold_values=None, embeddings_col="embeddings"):
602
 
 
603
  if not threshold_values:
604
- embeddings_matrix = np.array(data[embeddings_col].tolist())
605
  # threshold_values = np.round(np.linspace(min_eps, max_eps, n), 2)
606
  threshold_values = np.linspace(min_eps, max_eps, n)
607
 
 
600
 
601
  def perform_clustering(data, min_eps, max_eps=0.95, n=5, threshold_values=None, embeddings_col="embeddings"):
602
 
603
+ embeddings_matrix = np.array(data[embeddings_col].tolist())
604
  if not threshold_values:
 
605
  # threshold_values = np.round(np.linspace(min_eps, max_eps, n), 2)
606
  threshold_values = np.linspace(min_eps, max_eps, n)
607