Draw the best straight line (or S-curve) through the data, then predict from it.
- FeaturesPick inputs, like size and location of a flat.
- Fit a lineLinear regression finds weights that best fit the prices.
- LogisticFor yes/no, squash the line into a 0-1 probability.
- ErrorCheck the gap between predicted and real values.
Explain 1/5
Source: scikit-learn: Linear models