← Questions

Write a Bayesian classifier and judge cases with it

0
AmazonAI/ML designLast asked Aug 2026

An AI/ML design interview question asked in Amazon's system design round, last asked Aug 2026. It tests bayesian inference, classification and probability.

Write a small Bayesian classifier in code, then use it to decide a series of cases the interviewer gives you, explaining each decision. The point is the reasoning: stating assumptions, combining a prior with evidence, handling missing…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

bayesian inference · classification · probability

Your canvas and the AI tutor open when you unlock this question.