瀏覽代碼

add online w

yangxiaohui 1 年之前
父節點
當前提交
ff0c9f8a46
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      ad_recommend.py

+ 2 - 1
ad_recommend.py

@@ -352,7 +352,8 @@ def predict_mid_video_res_with_model(now_date, mid, video_id, abtest_param, abte
         'final_score': final_score,
         'online_score': online_score,
         'threshold': threshold,
-        'ad_predict': ad_predict
+        'ad_predict': ad_predict,
+        'online_features': online_features,
     }
     return result