← chapter

What machine learning is

Don't write the rules. Write down what a good rule looks like, and let the computer find the one that fits your data.

The whole course, in one idea.

Programming vs. learning

History

Two flavors, same points

Left: you gave the labels, the model learns a boundary. Right: no labels, the model discovers the groups.

The whole field, one line

θ=argminθ  1Ni=1N(fθ(xi),yi)\theta^{*} = \arg\min_{\theta} \; \frac{1}{N} \sum_{i=1}^{N} \ell\bigl(f_{\theta}(x_i),\, y_i\bigr)

Pick those three and you've specified a learning method completely.

Learning = reducing loss

Slide the threshold, watch the misclassification rate fall to its minimum. That descent is the entire algorithm.

Fit, predict, evaluate

Takeaways