|
@@ -31,7 +31,7 @@ public class RandomPredictModel extends ThresholdPredictModel {
|
|
|
|
|
|
double threshold = Double.parseDouble(modelParam.getExtraParam().getOrDefault(appType + "_" + keySuffix, -1).toString());
|
|
|
if (threshold < 0d) {
|
|
|
- threshold = Double.parseDouble(modelParam.getExtraParam().getOrDefault("default_" + keySuffix, "0.5").toString());
|
|
|
+ threshold = Double.parseDouble(modelParam.getExtraParam().getOrDefault("default_" + keySuffix, "-1").toString());
|
|
|
}
|
|
|
double correction = Double.parseDouble(modelParam.getExtraParam().getOrDefault("E620_" + appType + "_" + DateUtils.getCurrentHour(), 1).toString());
|
|
|
threshold=threshold*correction;
|