What is probability, and how is it used in machine learning?

Quick Overview

Asks you to define probability and explain where it shows up in machine learning. Tests whether you know the frequentist and Bayesian views, how classifiers output probabilities, how likelihood-based losses such as cross-entropy arise, and when model scores can be trusted.

What is probability, and how is it used in machine learning?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

What is probability, and how is it used in machine learning? ```hint Look at outputs and losses Consider what a classifier computes before it commits to a label, and where the loss functions used in training come from. ``` ### What a Strong Answer Covers - A definition of probability and the basic rules it follows - The frequentist and Bayesian interpretations - Where probability enters machine learning: predicted distributions, training objectives, generative models and uncertainty over parameters - At least one concrete link, such as how cross-entropy follows from maximum likelihood - A practical limit, such as model scores that are not calibrated probabilities ### Follow-up Questions - Why does minimizing cross-entropy give the same answer as maximizing likelihood for a binary classifier? - A model outputs 0.9 for many examples, yet only 70% of those examples are positive. What is wrong, and how would you fix it? - What is the difference between a likelihood and a probability? - How does a Bayesian prior relate to L2 regularization?

Overview: Asks you to define probability and explain where it shows up in machine learning. Tests whether you know the frequentist and Bayesian views, how classifiers output probabilities, how likelihood-based losses such as cross-entropy arise, and when model scores can be trusted.

General logo
General
Nov 25, 2026
easyData ScientistOtherStatistics & Math
0
0

What is probability, and how is it used in machine learning?

What a Strong Answer Covers Guidance

  • A definition of probability and the basic rules it follows
  • The frequentist and Bayesian interpretations
  • Where probability enters machine learning: predicted distributions, training objectives, generative models and uncertainty over parameters
  • At least one concrete link, such as how cross-entropy follows from maximum likelihood
  • A practical limit, such as model scores that are not calibrated probabilities

Follow-up Questions Guidance

  • Why does minimizing cross-entropy give the same answer as maximizing likelihood for a binary classifier?
  • A model outputs 0.9 for many examples, yet only 70% of those examples are positive. What is wrong, and how would you fix it?
  • What is the difference between a likelihood and a probability?
  • How does a Bayesian prior relate to L2 regularization?