|
@@ -30,9 +30,9 @@ public class ThompsonSamplingModel extends Model {
|
|
// key = adid, value = <exp, click, conversation>
|
|
// key = adid, value = <exp, click, conversation>
|
|
private Map<Long, AdActionFeature> thompsonSamplingModel;
|
|
private Map<Long, AdActionFeature> thompsonSamplingModel;
|
|
|
|
|
|
- private static final int alpha = 6;
|
|
|
|
- private static final int beta_click = 100;
|
|
|
|
- private static final int beta_conversion = 100;
|
|
|
|
|
|
+ private static final int alpha = 60;
|
|
|
|
+ private static final int beta_click = 2000;
|
|
|
|
+ private static final int beta_conversion = 2000;
|
|
|
|
|
|
public ThompsonSamplingModel() {
|
|
public ThompsonSamplingModel() {
|
|
//配置不同环境的hdfs conf
|
|
//配置不同环境的hdfs conf
|