Commit 69c0d126 authored by 段英荣's avatar 段英荣

调试

parent 4e3e2276
......@@ -88,7 +88,7 @@ class LinUCB:
else:
np_score_dict[score].append(score_index)
# import pdb;pdb.set_trace()
import pdb;pdb.set_trace()
sorted_np_score_list = sorted(np_score_list,reverse=True)
for top_score in sorted_np_score_list:
for top_score_index in np_score_dict[top_score]:
......
......@@ -223,8 +223,8 @@ if __name__ == "__main__":
# Generate_Feature_Info.generate_content_feature_to_redis(label_encoder,onehot_encoder)
linucb_matrix_redis_name = "strategy:linucb:matrix:content_type:diary"
# linucb_matrix_redis_name = "strategy:linucb:matrix:content_type:diary"
#
# diary_click_file = "/data/log/duan_test/feed_query_data/feed_click_info.txt"
# diary_fd = open(diary_click_file,"r")
#
......
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