Hi
Is there a way to set the seed for random() in EasyMorph to get reproducible results when random() is used ?
Thanks ?
Nikolaas
Hi
Is there a way to set the seed for random() in EasyMorph to get reproducible results when random() is used ?
Thanks ?
Nikolaas
Hi Nikolaas,
random() isn't supposed to be reproducible by design. Why do you need a reproducible random?
Hi
I use random() in a procedure to impute missing data. When the same data is reprocessed (full loads), I would like to generate the same random value so that the same imputation occurs for the same record.
I have worked around by using lookup to get values of earlier runs. But I know in other programming languages like R a set.seed() exists to create reproducible output. That's the reason I was curious if it was possible in EasyMorph in some way.
So no hard feature request.
Kind regards
Nikolaas
Hi Nikolaas,
We've added a new action in v5.7.2: "Anonymize/Hash". It produces a deterministic hash from one or more columns and can additionally use salt/seed.