Commit 66dbffd8 authored by 高雅喆's avatar 高雅喆

update

parent a276c897
......@@ -124,8 +124,7 @@ class LinUCB:
}
pickle_data = pickle.dumps(init_dict)
user_tag_linucb_dict[tag_id] = pickle_data
redis_cli.hmset(redis_key, user_tag_linucb_dict)
redis_cli.hset(redis_key, tag_id, user_tag_linucb_dict)
return True
except:
......
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