A

Admin • 802.91K Points
Coach

Q. What does np.random.seed(0) do?

  • (A) Randomizes output
  • (B) Sets the seed for reproducibility
  • (C) Resets array
  • (D) Shuffles array
  • Correct Answer - Option(B)
  • Views: 3
  • Filed under category Numpy
  • Hashtags:

Explanation by: Admin
Setting the seed ensures reproducible random number generation.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.