Why the Best Model Depends on the Problem
Unit ID: AMLA-M01-U00 Estimated active time: 25-35 minutes
Classroom explanation
In Machine Learning Foundations, you learned to build a safe modelling workflow. In this course, we go deeper into algorithm choices. But we do not start by asking, "Which algorithm is strongest?"
That question sounds useful, but it is incomplete.
A model is only strong for a purpose. A model that works well for a large clean dataset may be a poor choice for a small noisy dataset. A model that gives slightly better accuracy may be too slow, too hard to explain, or too unstable for the decision it supports. A model that looks good in a notebook may be unsuitable if the features will not be available at prediction time.
So the first habit is this:
> Choose algorithms from the problem outward, not from the algorithm inward.
A simple example
Imagine a fictional learning platform wants to predict whether a learner may need extra support in the next two weeks.
Before choosing an algorithm, ask:
- What is the prediction target?
- What is the row unit?
- When is the prediction made?
- What action will follow?
- What error is more costly?
- How much data is available?
- Which features are available before the decision?
- Does the team need an explanation?
Only after these questions are clear should we discuss model families.
Why this matters
Without this step, learners often test many algorithms and pick the one with the highest score. That creates a leaderboard, not a decision. A leaderboard can hide leakage, instability, unfair error patterns, and maintenance costs.
Practice
Write a two-sentence problem statement for a small supervised learning task. Then write one sentence explaining why "try every model and choose the highest score" is not enough.
Takeaway
There is no best algorithm in general. There is only a better or worse fit for a specific problem, dataset, metric, and decision.
