Module 03 · 16 minutes

Regression

See how features, targets, regression, classification, and error types shape a model's result.

Written and edited by Cahyanto Arie Wibowo. Last reviewed · version 1.2.

How does the idea of “Regression” change the decision we make?

In Data Literacy, use Regression to make the next step explicit and easier for another person to review. Ask two questions about Regression. What is it, and which decision becomes clearer once you understand it? Afterward, it should be easier to separate evidence about Regression from claims that have not been tested.

A visual model for “Regression” in Data Literacy: relationships matter as much as individual parts.

After this lesson

  • In Data Literacy, use Regression to make the next step explicit and easier for another person to review.
  • Use the idea of “Regression” to interpret one realistic situation.
  • Explain the limits of the concept and the information that still needs to be checked.

Start with the situation

Understand the situation first. The label can come later.

A price model and a spam filter use different targets and measures of error. This lesson uses the idea of “Regression” to examine that situation without treating a single term as the answer to every problem.

In Data Literacy, use Regression to make the next step explicit and easier for another person to review. See how features, targets, regression, classification, and error types shape a model's result. Connect the term to a decision someone genuinely needs to make.

Visual model

Map the parts before choosing what to do.

A visual model for “Regression” in Data Literacy: relationships matter as much as individual parts.

Read the diagram as a map of Regression: begin with the context, follow the connections, and inspect the highlighted point before making a decision.

Let’s see how it works

Reading the situation in practice

Ask two questions about Regression. What is it, and which decision becomes clearer once you understand it? Begin with what can be observed, then separate facts, assumptions, and open questions.

A price model and a spam filter use different targets and measures of error. Identify the part of the situation most closely connected to the idea of “Regression”. Use the case as a thinking tool, not as proof that one solution fits every context.

Working definition

What it means, and when to be careful with it.

In Data Literacy, use Regression to make the next step explicit and easier for another person to review. See how features, targets, regression, classification, and error types shape a model's result. Connect the term to a decision someone genuinely needs to make.

Regression
In Data Literacy, use Regression to make the next step explicit and easier for another person to review. Ask two questions about Regression. What is it, and which decision becomes clearer once you understand it? Afterward, it should be easier to separate evidence about Regression from claims that have not been tested.
Boundary to check
Correlation and prediction do not prove causation. This mistake often appears when a label is used before the problem is understood. Write down your assumptions so another person can review them.

Pause for a moment

What evidence could change this decision?

Answer before opening the discussion. Name one fact and one assumption.

Open the discussion

In Data Literacy, use Regression to make the next step explicit and easier for another person to review. Ask two questions about Regression. What is it, and which decision becomes clearer once you understand it? Afterward, it should be easier to separate evidence about Regression from claims that have not been tested.

Try it on your work

Try it with one small piece of real work.

  1. Choose one real situation related to Regression.
  2. Separate what you can observe from what you are assuming.
  3. Write one decision, its owner, and the evidence needed to review it.
  4. Name the signal that would make you stop or change direction.

Choose a task you know. List what is known, what is still an assumption, and what must be tested before using the idea of “Regression”. The larger module activity is: Compare a model with a baseline and explain what the difference means. Keep the first version small enough for another person to review in a few minutes.

A tempting shortcut

A familiar term can still lead us to the wrong decision.

Why this can seem reasonable

Correlation and prediction do not prove causation. This mistake often appears when a label is used before the problem is understood. Write down your assumptions so another person can review them.

How to check it

Ask two questions about Regression. What is it, and which decision becomes clearer once you understand it? Begin with what can be observed, then separate facts, assumptions, and open questions.

Quick practice

Choose a task you know. List what is known, what is still an assumption, and what must be tested before using the idea of “Regression”. The larger module activity is: Compare a model with a baseline and explain what the difference means.

Summary

  • In Data Literacy, use Regression to make the next step explicit and easier for another person to review.
  • Use examples and evidence to test your understanding.
  • Record the limits, risks, and conditions that should trigger another review.

Continue from here

Sources and further reading

  • Machine Learning Crash Course: Google for Developers · official-course. Primary reference for the definition, evidence, or limits discussed in “Regression”.
  • Model evaluation: scikit-learn · official-documentation. Further evidence and context for checking the explanation in “Regression”.
  • Machine Learning Glossary: Google for Developers · official-documentation. Further evidence and context for checking the explanation in “Regression”.