Podcast
Questions and Answers
What does np.random.randint(0, 5, 3) produce?
What does np.random.randint(0, 5, 3) produce?
What does np.random.rand(5) produce?
What does np.random.rand(5) produce?
What is true about a random outcome?
What is true about a random outcome?
What must the probabilities of all possible outcomes add up to in a random phenomenon?
What must the probabilities of all possible outcomes add up to in a random phenomenon?
Signup and view all the answers
What does np.random.choice([24,10,12,35,5]) output?
What does np.random.choice([24,10,12,35,5]) output?
Signup and view all the answers
What is important for the probability of an outcome to obey?
What is important for the probability of an outcome to obey?
Signup and view all the answers
What is the purpose of 'data cleaning' in the context of this lecture?
What is the purpose of 'data cleaning' in the context of this lecture?
Signup and view all the answers
Which numpy method is used to generate a random float value between 0 and 1?
Which numpy method is used to generate a random float value between 0 and 1?
Signup and view all the answers
What output value range does np.random.randint(0, 5) produce?
What output value range does np.random.randint(0, 5) produce?
Signup and view all the answers
In numpy, what does np.random.randint(0, 5, (2,3)) do?
In numpy, what does np.random.randint(0, 5, (2,3)) do?
Signup and view all the answers
What is the difference between np.random.randint(0, 5) and np.random.rand()?
What is the difference between np.random.randint(0, 5) and np.random.rand()?
Signup and view all the answers
What does 'Handling missing values' refer to in the context of this lecture?
What does 'Handling missing values' refer to in the context of this lecture?
Signup and view all the answers