Commit ea08e06e authored by 段英荣's avatar 段英荣

调试

parent ebed460e
...@@ -220,7 +220,7 @@ if __name__ == "__main__": ...@@ -220,7 +220,7 @@ if __name__ == "__main__":
onehot_encoder = Generate_Feature_Info.get_tagv3_label_onehot(label_encoder=label_encoder,tagv3_name_list=list(tagv3_name_set)) onehot_encoder = Generate_Feature_Info.get_tagv3_label_onehot(label_encoder=label_encoder,tagv3_name_list=list(tagv3_name_set))
# Generate_Feature_Info.generate_content_feature_to_redis(label_encoder,onehot_encoder) 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"
...@@ -256,8 +256,9 @@ if __name__ == "__main__": ...@@ -256,8 +256,9 @@ if __name__ == "__main__":
# diary_fd.close() # diary_fd.close()
duan_device_id="868771031984211" # device_id="868771031984211"
user_feature_list = Generate_Feature_Info.get_user_feature_by_device_id(duan_device_id) device_id="F0E142E6-EF98-482F-A470-34A6CE442D88"
user_feature_list = Generate_Feature_Info.get_user_feature_by_device_id(device_id)
test_count = 50 test_count = 50
while test_count: while test_count:
......
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