Update classification.py
Browse files- classification.py +1 -1
classification.py
CHANGED
@@ -171,7 +171,7 @@ def process_categories(categories, model):
|
|
171 |
|
172 |
|
173 |
def match_categories(df, category_df, treshold=0.45):
|
174 |
-
categories_list, experts_list, topic_list, scores_list = [], [], []
|
175 |
for topic in category_df['topic']:
|
176 |
df[topic] = 0
|
177 |
for index, ebd_content in enumerate(df['Embeddings']):
|
|
|
171 |
|
172 |
|
173 |
def match_categories(df, category_df, treshold=0.45):
|
174 |
+
categories_list, experts_list, topic_list, scores_list = [], [], [], []
|
175 |
for topic in category_df['topic']:
|
176 |
df[topic] = 0
|
177 |
for index, ebd_content in enumerate(df['Embeddings']):
|