|
@@ -535,11 +535,19 @@ public abstract class RankStrategyBasic implements RankStrategy {
|
|
|
protected void calculateCtcvrScore(List<AdRankItem> items, RankRecommendRequestParam request, ScoreParam scoreParam, String modelName) {
|
|
|
//判断是否走校准试验
|
|
|
if (scoreParam.getExpCodeSet().contains(calibrationCtcvrExp)) {
|
|
|
- calibrationDnnCtcvrScore(items, request.getMid(), request.getIsFilterUser(), modelName);
|
|
|
+ try {
|
|
|
+ calibrationDnnCtcvrScore(items, request.getMid(), request.getIsFilterUser(), modelName);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("calibrationDnnCtcvrScore error", e);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (scoreParam.getExpCodeSet().contains(calibrationCoefficientExp)) {
|
|
|
- calibrationCtcvrScore(items, request);
|
|
|
+ try {
|
|
|
+ calibrationCtcvrScore(items, request);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("calibrationCtcvrScore error", e);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|