|
@@ -56,6 +56,9 @@ public class PredictModelServiceImpl implements PredictModelService {
|
|
@Value("${ad.predict.share0.exp.code:000}")
|
|
@Value("${ad.predict.share0.exp.code:000}")
|
|
private String adPredictNoShareUserExpCode;
|
|
private String adPredictNoShareUserExpCode;
|
|
|
|
|
|
|
|
+ @Value("${ad.predict.immersion.exp.code:607}")
|
|
|
|
+ private String adPredictImmersionExpCode;
|
|
|
|
+
|
|
@Value("${ad.predict.param.testIds:0}")
|
|
@Value("${ad.predict.param.testIds:0}")
|
|
private String testIds;
|
|
private String testIds;
|
|
@Value("${ad.predict.without.ad.video_ids:0}")
|
|
@Value("${ad.predict.without.ad.video_ids:0}")
|
|
@@ -212,6 +215,12 @@ public class PredictModelServiceImpl implements PredictModelService {
|
|
.predict(modelParam);
|
|
.predict(modelParam);
|
|
} else if(expCodes.contains("599")){
|
|
} else if(expCodes.contains("599")){
|
|
// if(randomModelExpCode!=null){
|
|
// if(randomModelExpCode!=null){
|
|
|
|
+// modelParam.addUserExtraFuture("randomModelKey",ExpCodeEnum.valueOfExpCode(randomModelExpCode).getRandomModelKey());
|
|
|
|
+ result = ThresholdModelContainer.
|
|
|
|
+ getThresholdPredictModel("random")
|
|
|
|
+ .predict(modelParam);
|
|
|
|
+ }else if(expCodes.contains(adPredictImmersionExpCode)){
|
|
|
|
+// if(randomModelExpCode!=null){
|
|
// modelParam.addUserExtraFuture("randomModelKey",ExpCodeEnum.valueOfExpCode(randomModelExpCode).getRandomModelKey());
|
|
// modelParam.addUserExtraFuture("randomModelKey",ExpCodeEnum.valueOfExpCode(randomModelExpCode).getRandomModelKey());
|
|
result = ThresholdModelContainer.
|
|
result = ThresholdModelContainer.
|
|
getThresholdPredictModel("random")
|
|
getThresholdPredictModel("random")
|