找回密码
 会员注册
查看: 14|回复: 0

多兴趣召回模型实践

[复制链接]

7

主题

0

回帖

22

积分

新手上路

积分
22
发表于 2024-10-7 12:33:14 | 显示全部楼层 |阅读模式
SELECT CUR_LOSS,MIN_LOSS,MAX_LOSS,IF (CUR_LOSSMAX_LOSS,1,0) FROM ( ( SELECT loss AS CUR_LOSS ,1 as rn1 FROM deal_pai_model_mind_recall_check where ds=(select(regexp_replace(substr(date_sub(FROM_UNIXTIME(UNIX_TIMESTAMP()),1),1,10),'-',''))) ) aLEFT JOIN ( SELECT (avg(loss)-2*STDDEV(loss)) AS MIN_LOSS ,1 as rn2 FROM deal_pai_model_mind_recall_check where ds(select(regexp_replace(substr(date_sub(FROM_UNIXTIME(UNIX_TIMESTAMP()),14),1,10),'-',''))) ) bon a.rn1=b.rn2LEFT JOIN ( SELECT (avg(loss)+3*STDDEV(loss)) AS MAX_LOSS ,1 as rn3 FROM deal_pai_model_mind_recall_check where ds(select(regexp_replace(substr(date_sub(FROM_UNIXTIME(UNIX_TIMESTAMP()),14),1,10),'-',''))) ) c on a.rn1=c.rn3);
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

QQ|手机版|心飞设计-版权所有:微度网络信息技术服务中心 ( 鲁ICP备17032091号-12 )|网站地图

GMT+8, 2025-1-11 02:20 , Processed in 0.820251 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表