-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_razno.txt
29 lines (26 loc) · 1.06 KB
/
_razno.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
binary distribution sampling accuracy, required number of repeats to achive an 95% confidence interval of...
//20000, 95% confidence that true value deviates less by 1%
//5000, 95% confidence that true value deviates less by 2%
//1200, 95% confidence that true value deviates less by 4%
//750, 95% confidence that true value deviates less by 5% (default setting)
//200, 95% confidence that true value deviates less by 10%
//calculate the confidence, that two samples belong to different normal distributions
confidence_normal_dist1 =
sqrt(
(sample2_num_repeats)
* (sample1 - sample2) * (sample1 - sample2)
/ (sample2 * (1-sample2) + 0.00001) // + 0.00001 only to avoid division by 0
/ 2.0 //optional
);
//calculate the confidence, that the last two scores belong to different normal distributions
confidence_normal_dist2 =
sqrt(
(sample1_num_repeats)
* (sample1 - sample2) * (sample1 - sample2)
/ (sample1 * (1-sample1) + 0.00001) // + 0.00001 only to avoid division by 0
/ 2.0 //optional
);
Possible algorithms:
UCB1
UCB1-TUNED
Epsilon_n GREEDY