Commit a68c0f19 authored by 赵威's avatar 赵威

item2vec for answer

parent 0b4b9c6c
......@@ -189,7 +189,7 @@ if __name__ == "__main__":
save_clicked_answer_ids_item2vec()
for id in ["986424", "744910", "703622"]:
print(ANSWER_CLICK_IDS_MODEL.wv.most_similar(id, topn=5))
print(ANSWER_CLICK_IDS_MODEL.wv.most_similar(id, topn=10))
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