Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Jan Mühlnikel
commited on
Commit
·
b0c3715
1
Parent(s):
07ff467
experiment
Browse files
functions/calc_matches.py
CHANGED
|
@@ -55,8 +55,6 @@ def calc_matches(filtered_df, project_df, similarity_matrix, top_x):
|
|
| 55 |
filtered_df_index_map = {i: index for i, index in enumerate(filtered_df_indices)}
|
| 56 |
project_df_index_map = {i: index for i, index in enumerate(project_df_indices)}
|
| 57 |
|
| 58 |
-
st.write(filtered_df_index_map)
|
| 59 |
-
|
| 60 |
# Select submatrix based on indices from both dataframes
|
| 61 |
match_matrix = similarity_matrix[filtered_df_indices, :][:, project_df_indices]
|
| 62 |
|
|
|
|
| 55 |
filtered_df_index_map = {i: index for i, index in enumerate(filtered_df_indices)}
|
| 56 |
project_df_index_map = {i: index for i, index in enumerate(project_df_indices)}
|
| 57 |
|
|
|
|
|
|
|
| 58 |
# Select submatrix based on indices from both dataframes
|
| 59 |
match_matrix = similarity_matrix[filtered_df_indices, :][:, project_df_indices]
|
| 60 |
|