Skip to main content
Module 6 · Lesson 4 of 530/56 in the course~20 min
Module lessons (4/5)

Feature engineering and selection

Lesson preview5 hands-on exercises readyMachine Learning: from first principles to practice · Module 6 — Data preparation and pipelines

Ratios, interactions, polynomial terms and univariate selection.

What you'll learn in this lesson

  • Create new features from existing ones: ratios, interactions and polynomial terms.
  • Select the most informative features with a univariate test.
  • Explain why more features is not always better.

Overview

A linear model on price and area cannot discover on its own that what matters is price per square metre. A decision tree cannot easily build a ratio either. Often the biggest improvement in a project comes not from a fancier algorithm but from a better feature: one that exposes the relationship in a form the model can use. That craft is…

Toggle engineered polynomial/interaction features and prune weak noise columns interactively below:

Sections covered in this lesson

  1. 1The hook: the model can only see what you give it
  2. 2Comparing feature engineering & selection moves
  3. 3Try it: interactive feature engineering & selection lab
  4. 4Progressive examples: creating and selecting features safely
  5. 5Feature selection
  6. 6Practice
Pro Lesson · Module 6 — Data preparation and pipelines

Unlock "Feature engineering and selection" and the full Machine Learning: from first principles to practice curriculum

Ratios, interactions, polynomial terms and univariate selection.

Unlock all 5 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.

  • Instant access to all advanced modules in Machine Learning: from first principles to practice plus 17 more courses
  • Hands-on browser exercises with automated test suites and solutions
  • 14-day money-back guarantee processed via Paddle.com

14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.