lundi 16 mars 2015

random.sample in python implies choosing uniformly?

random.sample (population, k) in python means choosing uniformly and randomly from a population with distinct individuals k unique individuals, am I correct ? I never saw the uniform part. So, I guess it should be this way. Sorry if this is a duplicated as the following one. I initially put my concern there, but since I do not have enough poputation yet, someone flaged my answer. Anyway, any comments are greatly appreciated.


Related: What does random.sample() method in python do?





Aucun commentaire:

Enregistrer un commentaire