Commit 065e9977 authored by 张彦钊's avatar 张彦钊

测试获取用户画像方法

parent 30786bb6
......@@ -47,7 +47,7 @@ def get_user_profile(device_id,top_k = 5):
tags.append(tag_sort[i][0])
else:
for i in tag_sort:
tags.append(i)
tags.append(i[0])
return tags
......
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