Quiz AI & Machine Learning: Bayes' Theorem

Bayes' theorem is the math behind spam filters, medical tests and Naive Bayes classifiers, and a favorite in data science interviews. This quiz has you compute posteriors from priors and likelihoods, spot the base rate fallacy and reason about classic puzzles like Monty Hall.

Khó 10 câu hỏi ~8 phút Đạt từ 80%

Chọn chế độ

Bạn đang chơi với tư cách khách: đăng nhập để lưu XP và streak.

Câu hỏi mẫu

Câu 1/10

A disease affects 1% of people. A test detects it 99% of the time when present, and gives a false positive 5% of the time when absent. You test positive. About how likely is it that you have the disease?

Xem đáp án

C. 17% Per 10,000 people: 100 are sick and 99 test positive, 9,900 are healthy and 495 test positive. So 99 / (99 + 495), about 17%. 99% confuses P(positive | disease) with P(disease | positive).

Quiz này có gì

  • The formula P(A | B) = P(B | A) P(A) / P(B)
  • Medical test and spam filter calculations
  • The base rate fallacy
  • Updating a posterior with a second piece of evidence
  • Naive Bayes assumptions and Laplace smoothing

Câu hỏi thường gặp

Có cần tài khoản không?

Không. Ai cũng chơi được. Đăng nhập để lưu XP, streak, badge và lịch sử.

Có làm lại được không?

Được. Điểm cao nhất của bạn được giữ lại, câu hỏi và đáp án được xáo trộn mỗi lần.