Jan Mühlnikel
commited on
Commit
·
0eb5531
1
Parent(s):
eaf56c5
experiment
Browse files- similarity_page.py +2 -2
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 |
-
|
| 45 |
|
| 46 |
-
return
|
| 47 |
# Load Non Similar Orga Matrix
|
| 48 |
"""
|
| 49 |
@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 dense_matrix
|
| 47 |
# Load Non Similar Orga Matrix
|
| 48 |
"""
|
| 49 |
@st.cache_data
|