Chapter 03 · overview · 1 min read
Linear Models
Linear models compute a weighted sum of the features and either use it directly (regression) or squash it into a probability (classification). They are fast, transparent and surprisingly hard to beat on the right problem, and they are the ancestors of neural networks. This section covers fitting a line, turning scores into probabilities, taming many features with penalties, the first learning machine, and the widest-margin classifier.
Topics in this section:
- Linear Regression in Practice: fitting a line and reading its residuals.
- Logistic Regression as a Classifier: probabilities, thresholds and the two kinds of error.
- Ridge and Lasso: penalties that shrink weights and select features.
- The Perceptron: learning from mistakes.
- Support Vector Machines: the widest street between two classes.