probcomp/bayeslite

Install seeded RAND as a sqlite function

fsaad opened this issue · 1 comments

fsaad commented

RANDOM from sqlite3 draws global entropy --- much better to draw from the bdb's seeded prng.

fsaad commented

We may further consider installing (i) a host of samplers for standard distributions, such as NORMAL, GAMMA, BETA, STUDENTT, VONMISES, etc, and (ii) trigonometric functions such as SIN, COS, ATAN, etc. These primitives could be a valuable addition to BQL, and assist in routines such as synthetic data generation, adding noise to columns, etc.