Jan Mühlnikel
commited on
Commit
·
a1a139d
1
Parent(s):
4ec3ad0
experiment
Browse files
functions/calc_matches.py
CHANGED
@@ -70,7 +70,7 @@ def calc_matches(filtered_df, project_df, similarity_matrix, top_x):
|
|
70 |
# Create resulting dataframes with top matches and their similarity scores
|
71 |
p1_df = filtered_df.iloc[top_indices[0]].copy()
|
72 |
p1_df['similarity'] = top_values
|
73 |
-
p2_df =
|
74 |
p2_df['similarity'] = top_values
|
75 |
|
76 |
print("finished calc matches")
|
|
|
70 |
# Create resulting dataframes with top matches and their similarity scores
|
71 |
p1_df = filtered_df.iloc[top_indices[0]].copy()
|
72 |
p1_df['similarity'] = top_values
|
73 |
+
p2_df = filtered_df.iloc[top_indices[1]].copy()
|
74 |
p2_df['similarity'] = top_values
|
75 |
|
76 |
print("finished calc matches")
|