Jan Mühlnikel commited on
Commit
9c5b0ef
·
1 Parent(s): e0bcbc8

experiment

Browse files
Files changed (1) hide show
  1. functions/calc_matches.py +2 -0
functions/calc_matches.py CHANGED
@@ -54,6 +54,8 @@ def calc_matches(filtered_df, project_df, similarity_matrix, top_x):
54
  filtered_df_index_map = {index: i for i, index in enumerate(filtered_df_indices)}
55
  project_df_index_map = {index: i for i, index in enumerate(project_df_indices)}
56
 
 
 
57
  # Select submatrix based on indices from both dataframes
58
  match_matrix = similarity_matrix[filtered_df_indices, :][:, project_df_indices]
59
 
 
54
  filtered_df_index_map = {index: i for i, index in enumerate(filtered_df_indices)}
55
  project_df_index_map = {index: i for i, index in enumerate(project_df_indices)}
56
 
57
+ st.write(filtered_df_index_map)
58
+
59
  # Select submatrix based on indices from both dataframes
60
  match_matrix = similarity_matrix[filtered_df_indices, :][:, project_df_indices]
61