Commit a3c7f8a
committed
use Pareto Distribution for Level 1 Problem 100
With inputs sampled from Unif(0,1), we can directly compute the expected value of the output using the mean of the targets.
We use the Pareto distribution to sample inputs w/finite mean and infinite variance to prevent hacking this way.1 parent bb8ec90 commit a3c7f8a
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
0 commit comments