|
@@ -313,7 +313,11 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
double conver = Double.parseDouble(b3Feature.getOrDefault("ad_conversion_14d", "0"));
|
|
double conver = Double.parseDouble(b3Feature.getOrDefault("ad_conversion_14d", "0"));
|
|
|
double smoothCxr = NumUtil.divSmoothV1(conver, view, 1.64);
|
|
double smoothCxr = NumUtil.divSmoothV1(conver, view, 1.64);
|
|
|
//模型打分和统计计算取打分更低的
|
|
//模型打分和统计计算取打分更低的
|
|
|
- calibratedScore = Math.min(smoothCxr, calibratedScore);
|
|
|
|
|
|
|
+ item.getScoreMap().put("cvcvrItemValue", 1.0);
|
|
|
|
|
+ if(smoothCxr <= calibratedScore){
|
|
|
|
|
+ calibratedScore = smoothCxr;
|
|
|
|
|
+ item.getScoreMap().put("cvcvrItemValue", 2.0);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
item.setLrScore(calibratedScore);
|
|
item.setLrScore(calibratedScore);
|
|
|
item.getScoreMap().put("originCtcvrScore", originalScore);
|
|
item.getScoreMap().put("originCtcvrScore", originalScore);
|