Here explains the function numpy.random.choice. However, I am confused about the third parameter replace. What is it? And in which case will it be useful? Thanks!
numpy.random.choice
replace
It controls whether the sample is returned to the sample pool. If you want only unique samples then this should be false.
1.4m articles
1.4m replys
5 comments
57.0k users