Jan Mühlnikel commited on
Commit
b188b37
·
1 Parent(s): 74907bb

experiment

Browse files
Files changed (1) hide show
  1. similarity_page.py +4 -4
similarity_page.py CHANGED
@@ -41,9 +41,9 @@ def load_sim_matrix():
41
  @st.cache_data
42
  def load_sim_matrix():
43
  loaded_matrix = load_npz("src/extended_similarities.npz")
44
- dense_matrix = loaded_matrix.toarray().astype('float16')
45
 
46
- return dense_matrix
47
  # Load Non Similar Orga Matrix
48
  """
49
  @st.cache_data
@@ -55,9 +55,9 @@ def load_nonsameorga_sim_matrix():
55
  """
56
  def load_nonsameorga_sim_matrix():
57
  loaded_matrix = load_npz("src/extended_similarities_nonsimorga.npz")
58
- dense_matrix = loaded_matrix.toarray().astype('float16')
59
 
60
- return dense_matrix
61
 
62
  # Load Projects DFs
63
  @st.cache_data
 
41
  @st.cache_data
42
  def load_sim_matrix():
43
  loaded_matrix = load_npz("src/extended_similarities.npz")
44
+ #dense_matrix = loaded_matrix.toarray().astype('float16')
45
 
46
+ return loaded_matrix
47
  # Load Non Similar Orga Matrix
48
  """
49
  @st.cache_data
 
55
  """
56
  def load_nonsameorga_sim_matrix():
57
  loaded_matrix = load_npz("src/extended_similarities_nonsimorga.npz")
58
+ #dense_matrix = loaded_matrix.toarray().astype('float16')
59
 
60
+ return loaded_matrix
61
 
62
  # Load Projects DFs
63
  @st.cache_data