Commit 7cbe33a1 authored by 段英荣's avatar 段英荣

Merge branch 'sync_tx' into 'master'

Sync tx

See merge request !194
parents 547f780a 9bc6d76a
......@@ -11,7 +11,7 @@ import json
import pickle
class LinUCB:
d = 1
d = 2
alpha = 0.25
r1 = 1
r0 = -0.5
......
......@@ -191,6 +191,8 @@ class Topic(models.Model):
"""
if user_is_shadow:
offline_score = offline_score * 0.5
offline_score -= self.drop_score
return offline_score
except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc())
......
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