new Callable<Integer>() {
@Override
public Integer call() {
try {
totalRegret("regret.tsv", "local.tsv", 1000, 2, 1000, new BetaBayesFactory(), new BinomialDistributionSampler(1, 1, new Random()));
System.out.printf("2\n");
} catch (FileNotFoundException e) {
e.printStackTrace();
}
return null;
}
},
new Callable<Integer>() {
@Override
public Integer call() {
try {
totalRegret("regret-100.tsv", "local-100.tsv", 1000, 100, 1000, new BetaBayesFactory(), new BinomialDistributionSampler(1, 1, new Random()));
System.out.printf("100\n");
} catch (FileNotFoundException e) {
e.printStackTrace();
}
return null;
}
},
new Callable<Integer>() {
@Override
public Integer call() {
try {
totalRegret("regret-20.tsv", "local-20.tsv", 1000, 20, 1000, new BetaBayesFactory(), new BinomialDistributionSampler(1, 1, new Random()));
System.out.printf("20\n");
} catch (FileNotFoundException e) {
e.printStackTrace();
}
return null;