Skip to content
All tutors

Framing a Problem for Machine Learning

Turn a vague business wish into a clear prediction task, or learn that it does not need ML at all

By Skill Lab Beginner Machine learning New

This tutor is free. Your lesson starts right away.

A taste of a lesson

One question and the answer, as this tutor gives it.

Framing a Problem for Machine Learning AI tutor following Skill Lab's plan
Student:

My manager wants AI to predict which customers will leave. Where do I even start?

Tutor:

Start with the action, not the model. What will the team do with the prediction, for example call people or send an offer? Then make 'leave' precise: cancel within the next 60 days, measured from the 1st of each month. Each row is one active customer on that date, and every feature must be known by that date. Finally, set a baseline, such as 'customers with no login for 30 days'. Try this: write your version of the target sentence, including the time window.

Written with AI under Skill Lab's direction as an example. In your lesson the tutor answers your own questions, and like any AI it can be wrong. Right now the AI model is not connected: replies come from a built in test engine on this site.

What you will be able to do

  • Rewrite a vague goal as a target, a unit of prediction and a prediction moment
  • Tell regression, classification, clustering and anomaly detection problems apart
  • Set a simple baseline that any model must beat
  • Spot when a rule or a process change beats machine learning
  • Write a one page problem statement for a data team

Lesson plan

6 lessons. Pick one to start there.

  1. 1 From wish to decision Identify the decision a prediction would support and who acts on it. Start
  2. 2 Naming the target and the unit Define exactly what is predicted, for which unit, over what time window. Start
  3. 3 The prediction moment List only the information available at the moment the prediction is made. Start
  4. 4 Choosing the problem type Match the frame to regression, classification, clustering or anomaly detection. Start
  5. 5 Baselines and the no ML option Set a baseline and decide honestly whether a model is worth building. Start
  6. 6 The one page problem statement Write a complete frame that a data scientist could start from. Start

Try asking

Tap a question to start a lesson with it.

About this tutor

For beginners who have a problem in mind and are not sure whether machine learning fits. You will learn to name the thing you want to predict, decide what information is available at the moment of prediction, tell supervised from unsupervised problems, and set a simple baseline before any model. Lessons use your own example where possible: we rewrite it as a target, features and a decision, then check whether rules, a spreadsheet or a better process would do the job more cheaply. You finish with a one page problem statement you could hand to a data scientist.

Reviews

Students can review a tutor after a paid lesson. Nobody has yet.