m7n commited on
Commit
ee2a8e5
·
verified ·
1 Parent(s): 895a992

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -420,7 +420,7 @@ def setup_basemap_data():
420
  print(f"Getting basemap data: {time.strftime('%Y-%m-%d %H:%M:%S')}")
421
 
422
  #basedata_df = load("100k_filtered_OA_sample_cluster_and_positions.bz")
423
- basedata_df =pickle.load(open('100k_filtered_OA_sample_cluster_and_positions.pkl', 'rb'))
424
  print(basedata_df)
425
  return basedata_df
426
 
@@ -429,7 +429,7 @@ def setup_basemap_data():
429
  def setup_mapper():
430
  print(f"Getting Mapper: {time.strftime('%Y-%m-%d %H:%M:%S')}")
431
 
432
- params_new = pickle.load(open('umap_mapper_300k_random_OA_specter_2_params.pkl', 'rb'))
433
  print("setting up mapper...")
434
  mapper = umap.UMAP()
435
 
 
420
  print(f"Getting basemap data: {time.strftime('%Y-%m-%d %H:%M:%S')}")
421
 
422
  #basedata_df = load("100k_filtered_OA_sample_cluster_and_positions.bz")
423
+ basedata_df =pickle.load(open('100k_filtered_OA_sample_cluster_and_positions_supervised.pkl', 'rb'))
424
  print(basedata_df)
425
  return basedata_df
426
 
 
429
  def setup_mapper():
430
  print(f"Getting Mapper: {time.strftime('%Y-%m-%d %H:%M:%S')}")
431
 
432
+ params_new = pickle.load(open('umap_mapper_250k_random_OA_discipline_tuned_specter_2_params.pkl', 'rb'))
433
  print("setting up mapper...")
434
  mapper = umap.UMAP()
435