Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Chapter 1: Introduction to Supervised Learning

Sections

Summary

1.1 What is Machine Learning?

1.2 Squared Loss and the Constant Model

1.3 Absolute Loss

1.4 Comparing Loss Functions

LossL(yi,w)L(y_i, w)w∗w^*Always unique?Robust to outliers?
squared(yi−w)2(y_i - w)^2meanyesno
absolute∣yi−w∣\lvert y_i - w \rvertmediannoyes
LpL_p as p→∞p \to \infty∣yi−w∣p\lvert y_i - w \rvert^pmidrange min⁡+max⁡2\frac{\min + \max}{2}yesno
0-10 if yi=wy_i = w, else 1modenono