|
@@ -76,7 +76,7 @@ public class VideoAdThompsonScorerV2 {
|
|
// Map<String, Object> ext = this.extMap(statistic, "663", dto.getCpa(), null,
|
|
// Map<String, Object> ext = this.extMap(statistic, "663", dto.getCpa(), null,
|
|
// exp663Param.getOrDefault("alpha", 1d), exp663Param.getOrDefault("beta", 10000d), null);
|
|
// exp663Param.getOrDefault("alpha", 1d), exp663Param.getOrDefault("beta", 10000d), null);
|
|
// ext.put("s1", s1);
|
|
// ext.put("s1", s1);
|
|
- // item.setExt(ext);
|
|
|
|
|
|
+ // item.setFeature(ext);
|
|
// item.setScore(score);
|
|
// item.setScore(score);
|
|
// item.setScore_type(663);
|
|
// item.setScore_type(663);
|
|
// } catch (Exception e) {
|
|
// } catch (Exception e) {
|
|
@@ -184,7 +184,7 @@ public class VideoAdThompsonScorerV2 {
|
|
ext.put("s1", s1);
|
|
ext.put("s1", s1);
|
|
item.setCreativeCode(dto.getCreativeCode());
|
|
item.setCreativeCode(dto.getCreativeCode());
|
|
item.setWeight(dto.getWeight());
|
|
item.setWeight(dto.getWeight());
|
|
- item.setExt(ext);
|
|
|
|
|
|
+ item.setFeature(ext);
|
|
item.setScore_type(664);
|
|
item.setScore_type(664);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
log.error("svc=thompsonScorerByExp664 {}", gson.toJson(e.getStackTrace()));
|
|
log.error("svc=thompsonScorerByExp664 {}", gson.toJson(e.getStackTrace()));
|
|
@@ -233,7 +233,7 @@ public class VideoAdThompsonScorerV2 {
|
|
exp665Param.getOrDefault("alpha", 1d), exp665Param.getOrDefault("beta", 10000d), null);
|
|
exp665Param.getOrDefault("alpha", 1d), exp665Param.getOrDefault("beta", 10000d), null);
|
|
ext.put("s1", s1);
|
|
ext.put("s1", s1);
|
|
item.setCreativeCode(dto.getCreativeCode());
|
|
item.setCreativeCode(dto.getCreativeCode());
|
|
- item.setExt(ext);
|
|
|
|
|
|
+ item.setFeature(ext);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
log.error("svc=thompsonScorerByExp665 {}", gson.toJson(e.getStackTrace()));
|
|
log.error("svc=thompsonScorerByExp665 {}", gson.toJson(e.getStackTrace()));
|
|
}
|
|
}
|
|
@@ -302,7 +302,7 @@ public class VideoAdThompsonScorerV2 {
|
|
// exp663Param.getOrDefault("beta", 10000d), exp666Param.getOrDefault("beta_k",9d));
|
|
// exp663Param.getOrDefault("beta", 10000d), exp666Param.getOrDefault("beta_k",9d));
|
|
// ext.put("s1", s1);
|
|
// ext.put("s1", s1);
|
|
// ext.put("group_field", statisticType);
|
|
// ext.put("group_field", statisticType);
|
|
- // item.setExt(ext);
|
|
|
|
|
|
+ // item.setFeature(ext);
|
|
//
|
|
//
|
|
// }catch (Exception e){
|
|
// }catch (Exception e){
|
|
// log.error("svc=thompsonScorerByExp666 {}",gson.toJson(e.getStackTrace()));
|
|
// log.error("svc=thompsonScorerByExp666 {}",gson.toJson(e.getStackTrace()));
|
|
@@ -370,7 +370,7 @@ public class VideoAdThompsonScorerV2 {
|
|
item.setCpa(cpa);
|
|
item.setCpa(cpa);
|
|
item.setAdId(dto.getCreativeId());
|
|
item.setAdId(dto.getCreativeId());
|
|
item.setScore(score);
|
|
item.setScore(score);
|
|
- item.setExt(ext);
|
|
|
|
|
|
+ item.setFeature(ext);
|
|
item.setVideoId(param.getVideoId());
|
|
item.setVideoId(param.getVideoId());
|
|
item.setScore_type(666);
|
|
item.setScore_type(666);
|
|
item.setWeight(dto.getWeight());
|
|
item.setWeight(dto.getWeight());
|
|
@@ -465,7 +465,7 @@ public class VideoAdThompsonScorerV2 {
|
|
item.setAdId(dto.getCreativeId());
|
|
item.setAdId(dto.getCreativeId());
|
|
item.setWeight(dto.getWeight());
|
|
item.setWeight(dto.getWeight());
|
|
item.setScore(score);
|
|
item.setScore(score);
|
|
- item.setExt(ext);
|
|
|
|
|
|
+ item.setFeature(ext);
|
|
item.setBid1(dto.getBid1());
|
|
item.setBid1(dto.getBid1());
|
|
item.setBid2(dto.getBid2());
|
|
item.setBid2(dto.getBid2());
|
|
item.setCreativeCode(dto.getCreativeCode());
|
|
item.setCreativeCode(dto.getCreativeCode());
|
|
@@ -528,7 +528,7 @@ public class VideoAdThompsonScorerV2 {
|
|
item.setAdId(dto.getCreativeId());
|
|
item.setAdId(dto.getCreativeId());
|
|
item.setWeight(dto.getWeight());
|
|
item.setWeight(dto.getWeight());
|
|
item.setScore(score);
|
|
item.setScore(score);
|
|
- item.setExt(ext);
|
|
|
|
|
|
+ item.setFeature(ext);
|
|
item.setBid1(dto.getBid1());
|
|
item.setBid1(dto.getBid1());
|
|
item.setBid2(dto.getBid2());
|
|
item.setBid2(dto.getBid2());
|
|
item.setCreativeCode(dto.getCreativeCode());
|
|
item.setCreativeCode(dto.getCreativeCode());
|
|
@@ -682,7 +682,7 @@ public class VideoAdThompsonScorerV2 {
|
|
item.setCpa(cpa);
|
|
item.setCpa(cpa);
|
|
item.setAdId(dto.getCreativeId());
|
|
item.setAdId(dto.getCreativeId());
|
|
item.setScore(score);
|
|
item.setScore(score);
|
|
- item.setExt(ext);
|
|
|
|
|
|
+ item.setFeature(ext);
|
|
item.setVideoId(param.getVideoId());
|
|
item.setVideoId(param.getVideoId());
|
|
item.setScore_type(scoreType);
|
|
item.setScore_type(scoreType);
|
|
item.setWeight(dto.getWeight());
|
|
item.setWeight(dto.getWeight());
|