mardi 2 février 2016

Changing Python Sampling Algorithm

Is it possible to configure internal sampling algorithm of the random module to change sampling from normal to some other distribution for the duration of the execution of the program (for example to tinker with seed or state), but to then use regular randint and choice functions?

For example, I would like some left skewed sampling.

If so, would you please advise how.




Aucun commentaire:

Enregistrer un commentaire