|
@@ -307,12 +307,14 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
|
|
|
double scoreCoefficient = creativeScoreCoefficient.getOrDefault(item.getAdId(), 1d);
|
|
double scoreCoefficient = creativeScoreCoefficient.getOrDefault(item.getAdId(), 1d);
|
|
double guaranteeScoreCoefficient = getGuaranteeScoreCoefficient(scoreParam, item.getExt());
|
|
double guaranteeScoreCoefficient = getGuaranteeScoreCoefficient(scoreParam, item.getExt());
|
|
|
|
+ double ctcvrScore = item.getLrScore() * scoreCoefficient * item.getCpa();
|
|
item.setScore(item.getLrScore() * scoreCoefficient * item.getCpa() * guaranteeScoreCoefficient);
|
|
item.setScore(item.getLrScore() * scoreCoefficient * item.getCpa() * guaranteeScoreCoefficient);
|
|
item.getScoreMap().put("guaranteeScoreCoefficient", guaranteeScoreCoefficient);
|
|
item.getScoreMap().put("guaranteeScoreCoefficient", guaranteeScoreCoefficient);
|
|
item.getScoreMap().put("cpa", item.getCpa());
|
|
item.getScoreMap().put("cpa", item.getCpa());
|
|
item.getScoreMap().put("cpm", item.getCpm());
|
|
item.getScoreMap().put("cpm", item.getCpm());
|
|
item.getScoreMap().put("cpmCoefficient", cpmCoefficient);
|
|
item.getScoreMap().put("cpmCoefficient", cpmCoefficient);
|
|
item.getScoreMap().put("scoreCoefficient", scoreCoefficient);
|
|
item.getScoreMap().put("scoreCoefficient", scoreCoefficient);
|
|
|
|
+ item.getScoreMap().put("ctcvrScore", ctcvrScore);
|
|
item.getFeatureMap().putAll(userFeatureMap);
|
|
item.getFeatureMap().putAll(userFeatureMap);
|
|
item.getFeatureMap().putAll(sceneFeatureMap);
|
|
item.getFeatureMap().putAll(sceneFeatureMap);
|
|
|
|
|