Commit 98139591 authored by 赵威's avatar 赵威

try get data

parent a68c0f19
......@@ -188,8 +188,11 @@ if __name__ == "__main__":
save_clicked_answer_ids_item2vec()
for id in ["986424", "744910", "703622"]:
print(ANSWER_CLICK_IDS_MODEL.wv.most_similar(id, topn=10))
for id in ["986424", "744910", "703622", "705329", "913984"]:
try:
print(ANSWER_CLICK_IDS_MODEL.wv.most_similar(id, topn=10))
except Exception as e:
print(e)
print("total cost: {:.2f}mins".format((time.time() - begin_time) / 60))
......
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