EvgenyPetrovsky / synthezator

Generate synthetic datasets
MIT License
0 stars 0 forks source link

add seed for reproducible random generation #7

Closed EvgenyPetrovsky closed 5 years ago

EvgenyPetrovsky commented 5 years ago

In order to be able to produce the same output every time generation runs we need to use seed. Add seed parameter used by for random generation and by expression and by evaluation condition. Make sure that using seed gives proper results when only eval condition is applied or eval condition is applied together with random number generation. Update docs and tests.

EvgenyPetrovsky commented 5 years ago

it is a big question if we want to apply seed every time before evaluation or only once for attribute before we start doing anything.

Reproducibility may be achieved with only 1 set.seed. Then the same input parameters will produce the same result. Which conforms to definition.