|
@@ -260,8 +260,9 @@ public class RankStrategyBy687 extends RankStrategyBasic {
|
|
|
rankItem.getMetaFeatureMap().put("customerFeature", customerFeatureInfo.covertToFeatureMap());
|
|
|
|
|
|
scoreMap.put("customer_weight", customerFeatureInfo.getWeight());
|
|
|
+ scoreMap.put("customer_cpm", customerFeatureInfo.getCpm());
|
|
|
scoreMap.put("customer_rank", (double) customerFeatureInfo.getRank());
|
|
|
-
|
|
|
+ scoreMap.put("customer_view", (double) customerFeatureInfo.getView());
|
|
|
}
|
|
|
|
|
|
if (allCreativeFeatureMap.containsKey(rankItem.getAdId())) {
|
|
@@ -269,7 +270,9 @@ public class RankStrategyBy687 extends RankStrategyBasic {
|
|
|
rankItem.getMetaFeatureMap().put("creativeFeature", creativeFeatureInfo.covertToFeatureMap());
|
|
|
|
|
|
scoreMap.put("weight", creativeFeatureInfo.getWeight());
|
|
|
+ scoreMap.put("cpm", creativeFeatureInfo.getCpm());
|
|
|
scoreMap.put("rank", (double) creativeFeatureInfo.getRank());
|
|
|
+ scoreMap.put("view", (double) creativeFeatureInfo.getView());
|
|
|
}
|
|
|
|
|
|
Map<String, String> midFeature = new HashMap<>(4);
|