Commit 064185e5 authored by 段英荣's avatar 段英荣

调试

parent 4adf4331
......@@ -21,7 +21,7 @@ import time
class LinUCB:
d = 2
d = 491
alpha = 0.1
r1 = 10
r0 = -0.1
......
......@@ -218,9 +218,7 @@ if __name__ == "__main__":
onehot_encoder = Generate_Feature_Info.get_tagv3_label_onehot(label_encoder=label_encoder,tagv3_name_list=list(tagv3_name_set))
# device_id="868771031984211"
# Generate_Feature_Info.generate_user_feature_to_redis(device_id,label_encoder)
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"
......
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