aimnova.
DashboardMy LearningPaper MasteryStudy 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
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

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

NotesComputer Science HLTopic 4.2Feature selection
Back to Computer Science HL Topics
4.2.24 min read

Feature selection (Computer Science HL)

IB Computer Science • Unit 4

IB exam ready

Study like the top scorers do

Access a smart study planner, AI tutor, and exam vault — everything you need to hit your target grade.

Start Free

Contents

  • Choosing what the model gets to see
  • Which features to drop
  • How selection is done
  • Exam-style question
The big idea: A feature is one input column. Feature selection is deciding which ones the model is given.

More is not better: an irrelevant feature is noise the model can still fit, and a leaking feature is a disaster.

Why fewer features often wins

  • Less overfitting — fewer chances to fit noise that will not recur
  • Faster to train and to run, on less data
  • Explainable — a model with six inputs can be reasoned about; one with six hundred cannot
  • Cheaper to collect — every feature is data someone has to gather and store
  • Fewer places for bias to enter through a proxy

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
KindProblemExample
IrrelevantNo real relationship to the targetShoe size when predicting exam grades
RedundantDuplicates another featureHeight in cm and height in inches
ConstantSame value throughout — no informationA country column when all records are from one country
IdentifierUnique per row, so it memorisesCustomer ID
LeakingContains the answer"Refund issued" when predicting returns
Data leakage is the one that fools you: A leaking feature makes accuracy look superb in testing and then collapse in production, because the feature was not available at the moment the prediction has to be made.

Ask of every feature: would we actually know this at prediction time?
An ID memorises rather than learns: A customer ID is unique to one row, so a model can map each ID to its answer and score perfectly on training data while learning nothing generalisable.

It is overfitting in its purest form.

Practice with real exam questions

Answer exam-style questions and get AI feedback that shows you exactly what examiners want to see in a full-marks response.

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

Domain knowledge

  • A person who understands the problem removes what cannot matter
  • Catches leakage that statistics will not
  • The cheapest and most reliable filter

Statistical

  • Correlation with the target — weak ones are candidates to drop
  • Correlation between features finds redundancy
  • But correlation is not causation, and misses combinations

Model-based

  • Train, read the feature importances, drop the lowest, retrain
  • Measures what actually helps rather than what looks like it should
  • Costs many training runs
Removing a sensitive attribute is not selection for fairness: Dropping ethnicity does not remove ethnicity from the model — postcode, school and employment history correlate with it and act as proxies.

Say this explicitly: it is examined under ethics as well as here.

How this is tested — you must judge whether a feature belongs, and justify removal by its effect on the model. It comes up two ways:

Paper 1 Section A

  • Describe the role of feature selection, 3-4 marks
  • Identify a feature that should be removed
  • State one benefit of using fewer features

Paper 1 Section B — case study

  • Explain data leakage in a scenario
  • Justify keeping or dropping a specific feature
The classic trap: Assuming more data is always better. An identifier lets the model memorise, and a leaking feature gives near-perfect test accuracy that vanishes in production.

Columns struck out one reason at a time — irrelevant, identifier, duplicate.

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 bank predicts loan default from: customer ID, income, age, postcode, number of previous defaults, and whether debt collection was started. Describe which features should be removed and why.

Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic

IB Exam Questions on Feature selection

Practice with IB-style questions filtered to Topic 4.2.2. Get instant AI feedback on every answer.

Practice Topic 4.2.2 QuestionsBrowse All Computer Science HL Topics

How Feature selection Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Feature selection.

AO1
Describe

Give a detailed account of processes or features in Feature selection.

AO2
Explain

Give reasons WHY — cause and effect within Feature selection.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Feature selection.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

4.1.1Types of machine learning
4.1.2Hardware for machine learning
4.2.1Data cleaning
4.2.3Dimensionality reduction
View all Computer Science HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Computer Science HL

Previous
4.2.1Data cleaning
Next
Dimensionality reduction4.2.3

Make these notes count

Reading notes is just the start. Test yourself with IB-style questions and get feedback that shows you what examiners want.

Start FreeView All Computer Science HL Topics