|
@@ -34,7 +34,7 @@ public class NoShareUserThresholdPredictModel extends ThresholdPredictModel {
|
|
@Autowired
|
|
@Autowired
|
|
private FeatureRemoteService featureRemoteService;
|
|
private FeatureRemoteService featureRemoteService;
|
|
|
|
|
|
- Random random;
|
|
|
|
|
|
+ Random random=new Random();
|
|
|
|
|
|
@Value("${ad.predict.threshold.share0:0.4}")
|
|
@Value("${ad.predict.threshold.share0:0.4}")
|
|
private double threshold;
|
|
private double threshold;
|