|
@@ -719,10 +719,10 @@ def video_sanke_rank(data, size, top_K, flow_pool_P, ab_Code='', exp_config=None
|
|
|
:param flow_pool_P: size-top_K视频为流量池视频的概率 type-float
|
|
|
:return: rank_result
|
|
|
"""
|
|
|
- if not data['rov_pool_recall'] and not data['flow_pool_recall'] \
|
|
|
- and not data['u2i_recall'] and not data['u2i_recall'] \
|
|
|
- and not data['w2v_recall'] and not data['w2v_recall'] \
|
|
|
- and not data['sim_recall'] and not data['sim_recall']:
|
|
|
+ if not data['rov_pool_recall'] and not data['flow_pool_recall']:
|
|
|
+ # and not data['u2i_recall'] and not data['u2i_recall'] \
|
|
|
+ # and not data['w2v_recall'] and not data['w2v_recall'] \
|
|
|
+ # and not data['sim_recall'] and not data['sim_recall']:
|
|
|
return [], 0
|
|
|
# 地域分组小时级规则更新数据
|
|
|
recall_dict = {}
|