|
@@ -43,7 +43,7 @@ public class RandomPredictModel extends ThresholdPredictModel {
|
|
|
double correction = Double.parseDouble(modelParam.getExtraParam().getOrDefault("E620_" + appType + "_" + DateUtils.getCurrentHour(), 1).toString());
|
|
|
threshold = threshold * correction;
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
- result.put("ad_predict", score < threshold ? 2 : 1);
|
|
|
+ result.put("ad_predict", 2);
|
|
|
result.put("score", score);
|
|
|
result.put("threshold", threshold);
|
|
|
result.put("model", "random");
|