Commit 85ab77fa authored by 段英荣's avatar 段英荣

Merge branch 'gyz' into 'master'

add comment

See merge request !482
parents 9a80dae2 8d33fb3f
......@@ -49,17 +49,19 @@ class KafkaManager(object):
class CollectData(object):
def __init__(self):
# lin tag参数
self.linucb_matrix_redis_prefix = "physical:linucb:device_id:"
#废弃
# lin推荐tag
self.linucb_recommend_redis_prefix = "physical:linucb:tag_recommend:device_id:"
#推荐帖子
# 推荐帖子
self.linucb_recommend_topic_id_prefix = "physical:linucb:topic_recommend:device_id:"
# 推荐榜单
self.linucb_recommend_pictorial_id_prefix = "physical:linucb:pictorial_recommend:device_id:"
self.tag_topic_id_redis_prefix = "physical:tag_id:topic_id_list:"
self.click_recommend_redis_key_prefix = "physical:click_recommend:device_id:"
# 默认
self.user_feature = [0,1]
self.user_feature = [0, 1]
def _get_user_linucb_info(self, device_id):
......
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