|
@@ -380,19 +380,6 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
String cpa = b1Feature.get("cpa");
|
|
|
cidFeatureMap.put("cpa", cpa);
|
|
|
}
|
|
|
- if(StringUtils.isNotBlank(b1Feature.get("creative_type"))){
|
|
|
- cidFeatureMap.put("creative_type", b1Feature.get("creative_type"));
|
|
|
- }
|
|
|
- if(StringUtils.isNotBlank(b1Feature.get("creative_hook_embedding"))){
|
|
|
- cidFeatureMap.put("creative_hook_embedding", b1Feature.get("creative_hook_embedding"));
|
|
|
- }
|
|
|
- if(StringUtils.isNotBlank(b1Feature.get("creative_why_embedding"))){
|
|
|
- cidFeatureMap.put("creative_why_embedding", b1Feature.get("creative_why_embedding"));
|
|
|
- }
|
|
|
- if(StringUtils.isNotBlank(b1Feature.get("creative_type"))){
|
|
|
- cidFeatureMap.put("creative_type", b1Feature.get("creative_type"));
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
private void handleB2ToB5AndB8ToB9Feature(Map<String, Map<String, String>> c1Feature, Map<String, Map<String, String>> adVerFeature, Map<String, String> cidFeatureMap) {
|
|
@@ -475,6 +462,11 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
|
|
|
private List<TupleMapEntry<Tuple5>> handleC1Feature(Map<String, String> c1Feature, Map<String, String> featureMap) {
|
|
|
|
|
|
+ //用户近1年内是否有转化
|
|
|
+ if (c1Feature.containsKey("user_has_conver_1y") && c1Feature.get("user_has_conver_1y") != null) {
|
|
|
+ featureMap.put("user_has_conver_1y", c1Feature.get("user_has_conver_1y"));
|
|
|
+ }
|
|
|
+
|
|
|
// 用户特征
|
|
|
List<TupleMapEntry<Tuple5>> midActionList = new ArrayList<>();
|
|
|
if (c1Feature.containsKey("action")) {
|
|
@@ -778,10 +770,7 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
add("user_vid_return_cate2_14d");
|
|
|
add("user_vid_share_cate1_14d");
|
|
|
add("user_vid_share_cate2_14d");
|
|
|
- add("creative_type");
|
|
|
- add("creative_hook_embedding");
|
|
|
- add("creative_why_embedding");
|
|
|
- add("creative_action_embedding");
|
|
|
+ add("user_has_conver_1y");
|
|
|
}};
|
|
|
}
|
|
|
|