Jan Mühlnikel
commited on
Commit
·
7bccfb7
1
Parent(s):
dda6e4a
experiment
Browse files
functions/calc_matches.py
CHANGED
@@ -71,7 +71,7 @@ def calc_matches(filtered_df, project_df, similarity_matrix, top_x):
|
|
71 |
for idx, (row, col, value) in enumerate(top_15_indices_sorted):
|
72 |
st.write(f"Rank {idx + 1}: Value = {value}, Row Index = {row}, Column Index = {col}")
|
73 |
|
74 |
-
p1_df =
|
75 |
p1_df['similarity'] = top_values
|
76 |
p2_df = project_df.iloc[col_indices].copy()
|
77 |
p2_df['similarity'] = top_values
|
|
|
71 |
for idx, (row, col, value) in enumerate(top_15_indices_sorted):
|
72 |
st.write(f"Rank {idx + 1}: Value = {value}, Row Index = {row}, Column Index = {col}")
|
73 |
|
74 |
+
p1_df = project_df.iloc[row_indices].copy()
|
75 |
p1_df['similarity'] = top_values
|
76 |
p2_df = project_df.iloc[col_indices].copy()
|
77 |
p2_df['similarity'] = top_values
|