Skip to main content

NumPy Selective Random

Body

In this tutorial you will learn:

  • What is selective random?
  • NumPy choice() function
  • How to use choice() function

Selective Random

Selective random is a technique for random sampling in which the data set from which the sample has to be selected is dependent on the specific pre-defined values. For example if we want to randomly select the professor of certain university who can proficiently carry out a specific research, here we would provide specific data set of those professors (which meet the criteria) to the random function, which will then choose the professor(s) randomly.

Choi

Add new comment

Screenshot