Neuron 101

Math foundations / Probability and Bayes

Türkçe

Plate10

Unit 1 · Topic 10 of 11

Probability and Bayes

Medium, 8 min, 7 steps

everyone
Keyboard: left and right arrows change the step, space plays and pauses.

Step 1 of 7 Population

The whole population is a square

The area of the square is 1, that is everyone. The area of each region will be the probability that a randomly chosen person falls into it.

Open in Colab
  1. p = 0.1
  2. duy = 0.9
  3. yp = 0.1
  4. dogru = p * duy
  5. yanlis = (1 - p) * yp
  6. sonsal = dogru / (dogru + yanlis)
  7. print(sonsal)
p
0.10
duy
0.90
yp
0.10
sonsal
0.50