Commit 508401be authored by 高雅喆's avatar 高雅喆

update

parent 2d204524
...@@ -58,7 +58,7 @@ def get_user_service_portrait(x, all_word_tags, all_tag_tag_type, all_3tag_2tag, ...@@ -58,7 +58,7 @@ def get_user_service_portrait(x, all_word_tags, all_tag_tag_type, all_3tag_2tag,
gmkv_tag_score3_sum_dict = {all_tags_name[i]: gmkv_tag_score2_sum_dict[i] for i in gmkv_tag_score2_sum_dict} gmkv_tag_score3_sum_dict = {all_tags_name[i]: gmkv_tag_score2_sum_dict[i] for i in gmkv_tag_score2_sum_dict}
gmkv_tag_score3_sum_dict_sort_list = sorted(gmkv_tag_score3_sum_dict.items(), key=lambda x:x[1],reverse=True) gmkv_tag_score3_sum_dict_sort_list = sorted(gmkv_tag_score3_sum_dict.items(), key=lambda x:x[1],reverse=True)
portrait_result = [i[0] for i in gmkv_tag_score3_sum_dict_sort_list] portrait_result = [i[0] for i in gmkv_tag_score3_sum_dict_sort_list]
return [cl_id, search_info, portrait_result] return cl_id, search_info, portrait_result
# data # data
device_info = [] device_info = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment