Jan Mühlnikel
commited on
Commit
·
74907bb
1
Parent(s):
0eb5531
experiment
Browse files- similarity_page.py +2 -2
similarity_page.py
CHANGED
|
@@ -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 |
-
|
| 59 |
|
| 60 |
-
return
|
| 61 |
|
| 62 |
# Load Projects DFs
|
| 63 |
@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 dense_matrix
|
| 61 |
|
| 62 |
# Load Projects DFs
|
| 63 |
@st.cache_data
|