Jan Mühlnikel commited on
Commit
a46e9cf
·
1 Parent(s): e54232c

experiment

Browse files
Files changed (1) hide show
  1. functions/calc_matches.py +3 -3
functions/calc_matches.py CHANGED
@@ -64,10 +64,10 @@ def calc_matches(filtered_df, project_df, similarity_matrix, top_x):
64
 
65
 
66
  # Get the values corresponding to the top k indices
67
- top_values = match_matrix[row_indices, col_indices]
68
 
69
- top_filtered_df_indices = [filtered_df_index_map[i] for i in col_indices]
70
- top_project_df_indices = [project_df_index_map[i] for i in row_indices]
71
 
72
  st.write(top_filtered_df_indices)
73
 
 
64
 
65
 
66
  # Get the values corresponding to the top k indices
67
+ #top_values = match_matrix[row_indices, col_indices]
68
 
69
+ top_filtered_df_indices = [filtered_df_index_map[i] for i in top_col_indices]
70
+ top_project_df_indices = [project_df_index_map[i] for i in top_row_indices]
71
 
72
  st.write(top_filtered_df_indices)
73