Commit e4502036 authored by 赵威's avatar 赵威

update doc

parent 24e60760
...@@ -107,10 +107,10 @@ def clicked_tractate_ids_item2vec_model(id, n=5): ...@@ -107,10 +107,10 @@ def clicked_tractate_ids_item2vec_model(id, n=5):
def clicked_tractate_ids_item2vec_model_by_ids(ids, n=5): def clicked_tractate_ids_item2vec_model_by_ids(ids, n=5):
""" """
ids: ["417522", "179986", "75804", "84682", "400022"] ids: ["417522", "179986", "75804", "84682", "400022"]
return: [[('77419', 0.8857042193412781), return: [('77419', 0.8857042193412781),
('75761', 0.7772561311721802)], ('75761', 0.7772561311721802),
[('84630', 0.9709808826446533), ('84630', 0.9709808826446533),
('84671', 0.9621062278747559)]] ('84671', 0.9621062278747559)]
""" """
try: try:
time_begin = time.time() time_begin = time.time()
......
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