← All tools
EDTOOLKITS GUIDES

Choose features by testing prediction error

By Team Edtoolkits · AI learning

Compare useful measurements with distracting identifiers on the invented house dataset.

Use the guide alongside the working tool.

Open Data and Features in Machine Learning →

Explore the lesson

Watch a fruit become a row of numbers.

Switch house features on and off and see how the prediction error changes.

Flip the memory card and answer the quick check.

A comparison to try

Begin with no features, then add size, age and distance to the metro. Compare the held-out error with a selection using door colour and house number. Keep the dataset fixed during the comparison.

Read the result

The fitted rule uses one set of houses and is scored on another. A feature should earn its place through information that helps on unseen examples, rather than through an attractive label or an accidental association in a few rows.

A mistake to avoid

The property values and relationships are invented. A lower toy error is not a valuation method, and selecting more columns does not automatically make a model better or establish a causal relationship.

Teaching model and privacy

The houses are invented and the model is a plain least-squares fit, so this teaches the idea of features, not real property prices. Everything runs in your browser.

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE