|
@@ -39,7 +39,7 @@ public class RandomPredictModel extends ThresholdPredictModel {
|
|
|
).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");
|