Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Jan Mühlnikel
commited on
Commit
·
c79f93f
1
Parent(s):
000edae
experiment
Browse files
functions/calc_matches.py
CHANGED
@@ -45,10 +45,9 @@ def calc_matches(filtered_df, project_df, similarity_matrix, top_x):
|
|
45 |
st.write(top_n_col_indices)
|
46 |
|
47 |
original_row_indices = [project_df_index_map[i] for i in top_n_row_indices]
|
48 |
-
original_col_indices = [filtered_df_index_map[i] for i in top_n_col_indices]
|
49 |
-
|
50 |
-
st.write(match_matrix.shape)
|
51 |
st.write(original_row_indices)
|
|
|
|
|
52 |
st.write(original_col_indices)
|
53 |
|
54 |
# Get the linear indices of the top 'top_x' values
|
|
|
45 |
st.write(top_n_col_indices)
|
46 |
|
47 |
original_row_indices = [project_df_index_map[i] for i in top_n_row_indices]
|
|
|
|
|
|
|
48 |
st.write(original_row_indices)
|
49 |
+
|
50 |
+
original_col_indices = [filtered_df_index_map[i] for i in top_n_col_indices]
|
51 |
st.write(original_col_indices)
|
52 |
|
53 |
# Get the linear indices of the top 'top_x' values
|