aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.c1e448f

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 4.2Dimensionality reduction
Back to Computer Science HL Topics
4.2.34 min read

Dimensionality reduction (Computer Science HL)

IB Computer Science · Unit 4

Your first topic is free to keep

Know exactly what to write for full marks

Practice with exam questions and get AI feedback that shows you the perfect answer — what examiners want to see.

Start Free

Contents

  1. 1Too many dimensions is its own problem
  2. 2Selection against extraction
  3. 3What it buys
  4. 4Exam-style question
The big idea: Dimensionality reduction means describing the same data with fewer features, keeping as much of the variation as possible.

Not just dropping columns — building a smaller set of new ones that carry most of the information.
The curse of dimensionality: As features are added, the space the data lives in grows exponentially, so the same records become sparser and sparser inside it.

Everything ends up roughly equidistant from everything else, distances stop meaning anything, and the model needs exponentially more data to see a pattern.

The curse of dimensionality, point by point

ProblemWhat goes wrong as features are added
OverfittingMore features give the model more chances to fit noise in the training data
Computational complexityTraining and prediction take longer with every extra feature
Data sparsityThe same records are spread thinly over a much bigger space
Distance metricsPoints end up almost equally far apart, so methods like k-NN stop working
Data visualisationHumans can plot 2 or 3 dimensions, not 50, so patterns cannot be seen
Sample sizeFar more records are needed to cover the space well
Memory usageEach extra column costs storage for every record

Dimensionality reduction cuts the number of variables while preserving the relevant aspects of the data, e.g. keeping the 10 measurements that carry most of the information out of 200.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime
Feature selectionFeature extraction
DoesKeeps a subset of the original columnsBuilds new columns from combinations
ResultOriginal features, fewer of themNew features that did not exist before
InterpretableYes — they are the original meaningsOften not — a component is a mixture
ExampleDrop shoe sizeCombining height and weight into one ‘body size’ feature
The cost is interpretability: A selected feature still means "income". An extracted feature means "0.4 × income + 0.3 × age − 0.2 × distance" — mathematically useful and impossible to explain to the person it was used on.

Where a decision must be justified, that cost can be decisive.

Know your predicted grade

Take timed mock exams and get detailed feedback on every answer. See exactly where you're losing marks.

Try Mock Exams FreeYour first topic is free to keep • No credit card required

Practical

  • Faster training and inference
  • Less memory, which can be what makes a model fit on a phone
  • Less storage for the dataset itself

Statistical

  • Less overfitting — fewer dimensions to fit noise in
  • Removes correlated features that were saying the same thing twice
  • Distances regain meaning, so clustering works again

Human

  • Data with 2 or 3 dimensions can be plotted
  • Which is often how a pattern is first noticed at all
  • But a component cannot be named in plain words
Say what is lost: Reduction is lossy by construction. A full-mark answer names the benefit and then the cost: some variation is discarded, and the new features are usually not interpretable.

How this is tested — you must explain why many features is a problem in itself, and weigh reduction against interpretability. It comes up two ways:

Paper 1 Section A

  • Describe the importance of dimensionality reduction, 3-4 marks
  • State what the curse of dimensionality means
  • Distinguish selection from extraction

Paper 1 Section B — case study

  • Justify reduction for a scenario
  • Explain the trade-off against explainability
The classic trap: Treating it as the same thing as feature selection. Selection keeps some original columns; extraction creates new ones from combinations — and only the second sacrifices interpretability.

Projecting onto the direction the data actually varies along.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic
IB-style questionDescribe[5 marks]

A medical imaging model has 4,000 features per scan and only 800 training scans. Describe why dimensionality reduction is important here, and one reason to be cautious.

Model answer plan

See the answer broken into clear points, with guidance on how each point earns marks.

Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on Dimensionality reduction. Write your answer and get instant AI feedback — just like a real IB examiner.

two reasons for reducing the number of dimensions in a data set before training a model. [2 marks]

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

4.1.1Types of machine learning4.1.2Hardware for machine learning4.2.1Data cleaning4.2.2Feature selection
View all Computer Science HL topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Computer Science HL
Previous4.2.2Feature selectionNextLinear regression4.3.1

3 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start FreeView All Computer Science HL Topics