DP Computer Science · HL · A4 Machine learning

A4.3 Machine learning approaches (HL only)

Get started
Notes Quiz

Introduction to Machine Learning Approaches (HL)

This subtopic explores three powerful machine learning approaches used in real-world systems:

  1. Linear Regression , predicting continuous numerical outcomes
  2. Association Rule Learning , discovering patterns and relationships in large datasets
  3. Reinforcement Learning , training agents to make decisions through interaction with an environment

Each approach suits different types of problems, and understanding when and how to apply them is a key skill for IB Computer Science HL.

Note

All three approaches covered here are HL only. You are expected to understand the underlying concepts, key metrics, algorithms, and real-world applications of each.

Linear Regression: Core Concepts

Linear Regression: A statistical method used to model the relationship between a dependent variable (the response variable) and one or more independent variables (predictor variables), with the goal of finding a linear equation that best predicts outcomes.

The two key variables in any linear regression model are:

  • Dependent Variable (Y): The outcome we want to predict (e.g., house price, salary)
  • Independent Variable (X): The input used to make predictions (e.g., house size, years of experience)
Analogy

Think of the independent variable as the cause and the dependent variable as the effect. In predicting house prices, the size of the house (independent variable) influences the price (dependent variable) , not the other way around.

Linear regression assumes a linear relationship between variables , meaning the change in Y is proportional to the change in X. This makes the model interpretable and computationally efficient, but limits it to problems where this assumption holds reasonably well.

Free preview

14 more sections in this topic

← Previous topicA4.2 Data preprocessing (HL only)Next topic →A4.4 Ethical considerations
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.