skip to content

Learning Paradigms and Problem Framing

You will learn the map of machine learning: which family of methods fits which problem, and how to frame a business question as classification, regression, ranking, or clustering. Interviewers open with this to check you can scope an ML problem before touching an algorithm.

on this pageshow

explore

questions

page 2 of 2

What can a model of the joint p(x, y) do that a model of p(y|x) alone cannot?

level: seniorimportance: nice to knowfreq 28%

basics

~20 s

Modelling the joint gives you a distribution over the features themselves, so you can draw synthetic records, integrate out a feature missing at scoring time, and judge how unusual an input is. A p(y|x) model answers only the labelling question.

open as a page

How does distant supervision turn noisy labelling functions into training labels?

level: seniorimportance: nice to knowfreq 28%

basics

~20 s

Domain experts write cheap rules that each vote a class on a row or abstain. The votes are combined, weighted by each rule's estimated accuracy, into probabilistic labels, and a model trained on them generalises beyond the rules.

open as a page

How would you serve a lazy instance-based model under a 10 ms budget as its store keeps growing?

level: seniorimportance: nice to knowfreq 36%

basics

~20 s

A lazy model does its work at request time against everything it has stored, so memory and per-query cost both scale with the store. Bound what is stored, or distil the same data into a fixed-size eager model.

open as a page

When is a deliberately frozen model the right choice over one that keeps updating itself?

level: principalimportance: nice to knowfreq 26%

basics

~20 s

Freeze the model when validating a new version costs more than staleness does, when a past decision must be explainable against a specific artifact, or when its outputs shape future labels. Freezing trades silent decay for reviewable behaviour.

open as a page

Would you fit one global model across 4,000 SKUs in 60 stores, or one model per series?

level: principalimportance: nice to knowfreq 30%

basics

~20 s

Almost always one global model. Pooling 240,000 store-SKU series into a single training table, with store and product identity as features, shares patterns across short and sparse histories, handles new products, and leaves one artifact to operate instead of 240,000.

open as a page

How do you decide whether in-app upsell placement is a contextual bandit or full reinforcement learning?

level: principalimportance: nice to knowfreq 32%

basics

~20 s

Ask whether the action changes the situation the next decision faces. If each impression pays its own reward and the next starts from the same state, it is a contextual bandit; only real carry-over justifies reinforcement learning.

open as a page

showing 31–36 of 36