Build real machine learning in plain Python, with no special software: turn data into features and labels, fit a line that predicts prices, measure its error honestly on test data, classify with nearest neighbours, and judge a model with accuracy, precision and recall.
Level: Intermediate, after Programming with Python: first steps
David M Diez, Mine Çetinkaya-Rundel, Christopher D Barr. Derivative of OpenIntro Statistics, Fourth Edition, updated December 2024. Read it in full in the WorldClass library.
Licence CC-BY-SA-3.0, checked 2026-10-30.
Build status · Flash Infinity AI™ is a trademark of AI-Flash Inc. WorldClass is not affiliated with, approved or accredited by any exam board, curriculum provider or university unless a page says so.