Week 11: November 7 - 11

Non-Uniform Random Numbers

The most interesting and useful probability distributions are not “uniform”, although we do know an exact formula for them. We would therefore like a way to generate samples from any probability distribution. This week we develop a way to do this through an appropriate transformation of a uniform random number.

NumPy

  • random.normal
  • random.choice

Quiz 9: Images

  • The RGB color model
  • NumPy 3D color arrays
  • imread
  • imsave
  • imshow

Sample Quiz 9