AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Probability and Bayes: thinking clearly about uncertainty

The rules of probability, conditional chances, Bayes' rule, expected value, common distributions and Monte Carlo, applied to fraud alerts and a ticket classifier.

Will the bus be late? Is this card payment fraud? Is this email spam? Every one of these is a question about uncertainty, and probability is the language for it. It sits under spam filters, fraud alerts, medical tests, recommendation scores, and every model that says "I am 83% sure".

You do not need more than school arithmetic. We use counting, small simulations and everyday examples: buses, loans, card payments and customer tickets. You need Python basics and NumPy; the statistics course helps, and this course goes deeper into the rules and into Bayes' rule, the most useful idea in applied probability.

  • Learn lessons build one idea at a time, with exercises you can repeat.
  • Industry ready lessons use real files (card transactions, support tickets) and end with the interview questions that go with them.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 20 min Free sample πŸ”’ AiTeky Pass The rules of probability: NOT, AND, OR Combine chances with three rules (not, and, or), know when events are independent, and check each rule with a simulation.
  2. 02 25 min πŸ”’ AiTeky Pass Conditional probability: the chance, given what you know Read "the chance of A given B" from a table of counts, see how it differs from the chance of B given A, and test whether two things are independent.
  3. 03 30 min πŸ”’ AiTeky Pass Bayes' rule: update your belief when you see evidence Turn the chance of a test result given a condition into the chance of the condition given the result, using natural frequencies and a short function, and avoid the base-rate trap.
  4. 04 25 min πŸ”’ AiTeky Pass Expected value: the average of an uncertain outcome Work out the average result of a choice with uncertain outcomes (a lottery ticket, an insurance policy, a delivery bonus) and its spread, and see why the average over many tries settles down.
  5. 05 30 min πŸ”’ AiTeky Pass Common distributions: binomial, Poisson and waiting times Meet three named patterns of chance (counting successes, counting arrivals and waiting for the next one), use SciPy to answer questions with them, and pick the right one for a problem.
  6. 07 25 min πŸ”’ AiTeky Pass Monte Carlo: answer hard chance questions by simulating Estimate chances that have no neat formula by running the situation many times, from the value of pi to the chance a project finishes on time.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 06 40 min πŸ”’ AiTeky Pass On the job: fraud alerts and the base-rate trap Take 20,000 card payments, test simple alert rules against the base rate, combine four weak clues with Bayes' rule into one risk score, check the score against the truth and choose an alert threshold with the fraud team.
  2. 08 40 min πŸ”’ AiTeky Pass On the job: route support tickets with Naive Bayes, built by hand Build a Naive Bayes text classifier from counts and logarithms, see which words point to which team, test it on tickets it never saw, send unsure tickets to a human and answer the interview questions.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in