module documentation
Noisifier class and helper code.
| Class | |
noise wrapper for an observed problem. |
| Function | rand |
return a uniform random value seeded with x[:2] and i |
| Function | randc |
return a Cauchy random value seeded with x[:2] and i. |
| Function | randn |
return a normal random value seeded with x[:2] and i |
| Variable | parameters |
default file name where to save current parameters of Noisifier |
| Variable | save |
flag whether Noisifier.__init__ saves noise parameters in file |
| Function | _cauchy |
Samples N standard Cauchy distributed numbers being the same for a given seed |
| Function | _gauss |
Samples N standard normally distributed numbers being the same for a given seed |
| Function | _read |
read parameters from a json file and return a parameters dict |
| Function | _seed |
return a scalar seed using the first two entries of vector x |
| Function | _unif |
Generates N uniform numbers with starting seed inseed. |
| Variable | _frozen |
Undocumented |
| Variable | _seed |
Undocumented |
| Variable | _seeds |
Undocumented |
return a Cauchy random value seeded with x[:2] and i.
We observe that median(|Z|) == 1 and p(pi x Z / 2 > a) == 1/a.