|
@@ -43,6 +43,7 @@ public class RandomPredictModel extends ThresholdPredictModel {
|
|
|
Map<String, Object> result = new HashMap<>();
|
|
|
result.put("ad_predict", score<threshold?2:1);
|
|
|
result.put("score", score);
|
|
|
+ result.put("threshold", threshold);
|
|
|
|
|
|
return result;
|
|
|
}
|