Qarlsberg commited on
Commit
cec4848
1 Parent(s): 480e1d2

Removed random state from umap

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def load_data():
23
  # Function to reduce dimensions and cache the results
24
  @st.cache_data
25
  def reduce_dimensions(data, n_components, n_neighbors, min_dist):
26
- reducer = umap.UMAP(n_components=n_components, n_neighbors=n_neighbors, min_dist=min_dist, random_state=42)
27
  return reducer.fit_transform(data)
28
 
29
  # Function to perform and cache HDBSCAN clustering
 
23
  # Function to reduce dimensions and cache the results
24
  @st.cache_data
25
  def reduce_dimensions(data, n_components, n_neighbors, min_dist):
26
+ reducer = umap.UMAP(n_components=n_components, n_neighbors=n_neighbors, min_dist=min_dist)
27
  return reducer.fit_transform(data)
28
 
29
  # Function to perform and cache HDBSCAN clustering