Browse Source

feat:同步563代码

zhaohaipeng 3 months ago
parent
commit
2f5dfb26cd

+ 3 - 3
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/rank/strategy/RankStrategy4RegionMergeModelV562.java

@@ -444,11 +444,11 @@ public class RankStrategy4RegionMergeModelV562 extends RankStrategy4RegionMergeM
                     if (split.length != 4) {
                         continue;
                     }
-                    Double regionBegin = Double.parseDouble(split[0]);
-                    Double regionEnd = Double.parseDouble(split[1]);
+                    Double rangeBegin = Double.parseDouble(split[0]);
+                    Double rangeEnd = Double.parseDouble(split[1]);
                     Double originCoefficient = Double.parseDouble(split[2]);
                     Double smoothlyCoefficient = Double.parseDouble(split[3]);
-                    strPlusCalibrationCoefficientMap.put(new Pair<>(regionBegin, regionEnd), new Pair<>(originCoefficient, smoothlyCoefficient));
+                    strPlusCalibrationCoefficientMap.put(new Pair<>(rangeBegin, rangeEnd), new Pair<>(originCoefficient, smoothlyCoefficient));
                 }
             } catch (Exception e) {
                 log.error("[562 exp] read calibration file error: ", e);