vendredi 17 juillet 2020

Predict one random variable from another with same seed

Given the same seed, is it possible to predict one output from the other, with different type and range?

e.g.

np.random.seed(100)

x = np.random.randint(0, 16, 2)

np.random.seed(100)

y = np.random.randint(0, 256)

In this example I have x as a 2-element integer array with range 0-15 and y as a integer scalar with range 0-255.

My question is in general, not limited to the example above, under which condition it is possible to predict y given x? Assume the observer knows x, type and range of x and y, but not the seed itself.

Any discussion of sufficient or necessary conditions for predictability will be useful.




Aucun commentaire:

Enregistrer un commentaire