Framing ML Problems
7 min read.
"Slow customer support is a problem, but it is not an ML problem." Turn a complaint into inputs, outputs and an objective function, then reframe an app recommender so adding a new app stops forcing a retrain.
Think of it this way: Two ways to ask a shop assistant what you should buy. You can ask "which of these 40,000 items is for me?" — and every time the shop gets new stock, the assistant has to relearn the catalogue. Or you can hold up one item and ask "is this for me?", forty thousand times. Same information, and only one of them survives a delivery.
The middle step found the bottleneck. “Support is slow” has no inputs or outputs; “routing takes too long” has both: accounting, inventory, HR or IT, a four-class problem. If you cannot write down all three, you have a business complaint, not an ML problem.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Frame the task
Sort each problem into the ML task type it is.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
Regression
Drop items hereBinary classification
Drop items hereMulticlass
Drop items hereMultilabel
Drop items hereQuiz
20 questionsAn ML problem is defined by inputs, outputs, and:
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.