Commit 877cf714 authored by 宋柯's avatar 宋柯

模型上线

parent b0896276
...@@ -787,7 +787,7 @@ def getPredictItemStatisticSql(start, end): ...@@ -787,7 +787,7 @@ def getPredictItemStatisticSql(start, end):
SELECT t1.partition_date, t1.card_id, 1 as label SELECT t1.partition_date, t1.card_id, 1 as label
FROM FROM
( (
select cl_id, business_id as card_id select partition_date, cl_id, business_id as card_id
from online.bl_hdfs_maidian_updates from online.bl_hdfs_maidian_updates
where action = 'page_view' where action = 'page_view'
AND partition_date>='{startDay}' and partition_date<='{endDay}' AND partition_date>='{startDay}' and partition_date<='{endDay}'
...@@ -828,7 +828,7 @@ def getPredictItemStatisticSql(start, end): ...@@ -828,7 +828,7 @@ def getPredictItemStatisticSql(start, end):
SELECT t1.partition_date, t1.card_id, 0 as label SELECT t1.partition_date, t1.card_id, 0 as label
from from
( --新首页卡片曝光 ( --新首页卡片曝光
SELECT cl_id, card_id SELECT partition_date, cl_id, card_id
FROM online.ml_community_precise_exposure_detail FROM online.ml_community_precise_exposure_detail
where partition_date>='{startDay}' and partition_date<='{endDay}' where partition_date>='{startDay}' and partition_date<='{endDay}'
and action in ('page_precise_exposure','home_choiceness_card_exposure') and action in ('page_precise_exposure','home_choiceness_card_exposure')
......
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