Start studying
Module 1 · Machine Learning Module contents
Module 1  ·  Card 4 / 55beginner

Features

Features are the pieces of information you feed into a model as input.

For house prices, features could be area, number of bedrooms, location and age.

The whole collection of features is normally written as X.

Good features make it far easier for a model to find a useful pattern.

Inventing or reshaping features to help the model is called feature engineering.

Learn in depth ↓
Module 01 · Machine Learning · 55 concepts
In depth  /  15 lines

Features, in more detail

Features are the questions you decide to ask about each row.

The model can only use what you hand it.

If you never recorded the neighbourhood, it cannot learn that neighbourhood matters.

Choosing features is a judgement call, not a calculation.

Two features that say the same thing add cost and no information.

A feature that is nearly always the same value tells the model nothing.

Numbers on very different scales confuse some models badly.

Salary in the thousands sitting next to age in the tens is the usual example.

Text and categories have to become numbers before most models will accept them.

Some models care deeply about feature quality, and some barely notice.

Trees cope well with raw messy features, while distance-based models do not.

Adding features is not free, since each one is another way to overfit.

A useful habit is to ask what a human expert would look at.

Then check whether that information is actually present in your data.

Very often it is not, and that absence is the real finding.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
Neighbourhood was never recorded in your house dataset. What follows?
Machine Learning

55 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close