|
@@ -259,13 +259,13 @@ public class VideoAdThompsonScorerV2 {
|
|
|
return cpa;
|
|
|
}
|
|
|
}
|
|
|
- double betaSampler(double alpha, double beta) {
|
|
|
+ double betaSampler(double alpha, double beta) {
|
|
|
BetaDistribution betaSample = new BetaDistribution(alpha, beta);
|
|
|
return betaSample.sample();
|
|
|
}
|
|
|
@Value("${ad.engine.new.thompson.exp.V2.663:{\"randomMin\":0.000001,\"randomMax\":0.00001,\"alpha\":1,\"beta\":10000}}")
|
|
|
public void setExp663Param(String str){
|
|
|
- this.exp663Param=gson.fromJson(str,Map.class);
|
|
|
+ this.exp663Param=gson.fromJson(str,Map.class);
|
|
|
}
|
|
|
@Value("${ad.engine.new.thompson.exp.V2.664:{}}")
|
|
|
public void setExp664Param(String str){
|