Jan Mühlnikel
commited on
Commit
·
e0bcbc8
1
Parent(s):
fa25391
experiment
Browse files
functions/calc_matches.py
CHANGED
@@ -74,6 +74,8 @@ def calc_matches(filtered_df, project_df, similarity_matrix, top_x):
|
|
74 |
top_filtered_df_indices = [filtered_df_index_map[i] for i in top_indices[0]]
|
75 |
top_project_df_indices = [project_df_index_map[i] for i in top_indices[1]]
|
76 |
|
|
|
|
|
77 |
# Create resulting dataframes with top matches and their similarity scores
|
78 |
st.write(top_indices)
|
79 |
p1_df = filtered_df.loc[top_filtered_df_indices].copy()
|
|
|
74 |
top_filtered_df_indices = [filtered_df_index_map[i] for i in top_indices[0]]
|
75 |
top_project_df_indices = [project_df_index_map[i] for i in top_indices[1]]
|
76 |
|
77 |
+
st.write(top_filtered_df_indices)
|
78 |
+
|
79 |
# Create resulting dataframes with top matches and their similarity scores
|
80 |
st.write(top_indices)
|
81 |
p1_df = filtered_df.loc[top_filtered_df_indices].copy()
|