|
|
|
|
|
by dakami
3690 days ago
|
|
I'm not convinced Von Neumann debiasing is vulnerable like you think. You're dropping runs (00's and 11's) so you don't care if it's 90% 0 or 90% 1, you care if there's an even number of a run or an odd number of a run. In other words: 0000000000000001
000000001
001 ...are all interchangeable. So biases can change all day. There are _other_ issues I've seen in real world data, but not this one. |
|
How about this: for the next string of generated bits, for every even bit the bias is 90% towards 1, and every odd bit the bias is 90% towards 0.
raw: 0101010101010111010101010001010101010101
'debiased': 1111111111111111