gufengshou1 1 anno fa
parent
commit
37534533a1

+ 3 - 0
ad-engine-service/src/main/java/com/tzld/piaoquan/ad/engine/service/predict/model/threshold/ScoreV2ThresholdPredictModel.java

@@ -89,6 +89,8 @@ public class ScoreV2ThresholdPredictModel extends ThresholdPredictModel {
             }
         }
 
+
+
         int adPredict;
         if (maxItem != null && maxItem.getScore() < threshold) {
             // If final score is below threshold, do not show the ad
@@ -99,6 +101,7 @@ public class ScoreV2ThresholdPredictModel extends ThresholdPredictModel {
         }
         if(maxItem != null){
             ThresholdModelContainer.mergingDigestAddScore(maxItem.getScore());
+            log.info("svc=ScoreV2ThresholdPredictModel_predict modelName=ScoreV2ThresholdPredictModel ctr={} cvr={} str={} ros={} breakRate={}", maxItem.getCtr(),maxItem.getCvr(),maxItem.getStr(),maxItem.getRos(),maxItem.getBreakRate());
         }
 
         Map<String, Object> result = new HashMap<>();