What does a regression model output?
Google's glossary describes a regression model, informally, as one that generates a numerical prediction [3]. A classifier outputs a category; a regression model outputs a number. In IBM's terms, the variable you want to predict is the dependent variable and the one you predict it from is the independent variable [2].
How does linear regression work?
The best-known form is linear regression, which expresses the relationship between features and a label as a line or plane [1]. The equation has a bias term and one weight per feature, and these are parameters the model works out during training [1].
Google's worked example predicts a car's fuel efficiency from its weight. Heavier cars tend to get fewer miles per gallon, and the best-fit line has a bias of 34 and a weight of -4.6, so for a 4,000-pound car it predicts roughly 15.6 mpg [1]. Add engine displacement or horsepower and each new feature gets its own weight [1]. With one independent variable this is simple linear regression; with several it is multiple linear regression [2].
Where is it used?
IBM's examples include forecasting a salesperson's annual sales from age, education and experience, studying how demand shifts as price changes, and estimating insurance claim costs [2]. In each case the method looks for the line that keeps the gap between predicted and actual values as small as possible [2].